#Pls help 😠I'm trying to stop a specific player animation with a script and I'm flopping
1 messages · Page 1 of 1 (latest)
Pls help 😠I'm trying to stop a specific player animation with a script and I'm flopping
those suck
every time I try to use these they're useless
Lol
I mean
Why didn't u send the script as well as the gui
We don't know what u talking abt bro 💔
could have just asked for the script
ofc I would send it if someone asked
this is the one that plays the Hold animation and connects the Motor6D to the Arm
local player = game.Players.LocalPlayer
local character = player.Character
local humanoid = character:WaitForChild("Humanoid")
local Animator = humanoid:FindFirstChild("Animator")
local Tool = script.Parent
local IdleAnim = script:FindFirstChild("Idle")
local IdleTrack = Animator:LoadAnimation(IdleAnim)
local Tool = script.Parent
local Grip = Tool.Connectors.Grip
Tool.Equipped:Connect(function()
IdleTrack:Play()
Grip.Part0 = Tool.Parent:WaitForChild("Right Arm")
end)
Tool.Unequipped:Connect(function()
IdleTrack:Stop()
Grip.Part0 = nil
end)
I don't really know what sending the scripts would help with tho, I don't think they need any edits, unless I'm wrong
I'm pretty sure I wrote up there everything that's important but if you have any questions then go for it
it's kinda a mess but pretty much, in this game you can get tools through a settings gui. The tools are stored in ReplicatedStorage, kinda like the brookhaven backpack thing. When you eqiup a tool, in this case a phone, a script makes a gui pop up, it's this one
this is the structure of the phone
the second local script connects the Motor6D to the Right arm of the player and plays an idle/hold animation
wdym too complicated?
I mean
the phone structure yes
a lot happened with that tool
yes bro a bit to mush
ðŸ˜
jst make one script for everything
bro this script looks kinda wrong
like kinda
wrong...
I'm not that good at scripting, I was just following a tutorial that I got recommended
and that tutorial was hella ass bro
anyways
you have like a GUI where you can choose like a animation and it will play it with a tool or what the flip you try to do
well, the problem that I'm having is that these buttons play diffrent tool animations
i dont even know the real thing here
then put the right animation ID ?
ðŸ˜
nice
the issue is that I recently added a custom hold animation with this script
this one\
and when I click on these button, both the emote animation and the hold animation play at once
ok
it looks hella bad
ok
I just want to know how to stop that animation track so the emote can play by itself
yea it looks so bad that your setup to this also looks the same bro
:stop()
I mean I know about this command, I'm just having trobule locating the idle animation track
when a tool is equipped, it gets added to the player's model in workspace
Idle:Stop()
yeah
and I need to locate the idle animation when the script that I'm trying to do it in in in PlayerGui
just do:
Game.Players.LocalPlayer.Character:FindFirstChild("Phone").holdanim.Idle:idk()
I tried this line but it flopped
local phoneTool = game.Workspace.LocalPlayer:WaitForChild("Phone")
print("connectedPhone")
local Idle = phoneTool.holdanim.Idle
well thats the animation
and not the loaded animatoin that is inside the player
ooooh yeah true
ho ho ho
lemmie try that
that wont work
cuz
its also not the loaded animatoin
just make a secure script or smt
that will load the animation over the server
and the local script can acces that loaded animation over a remote event
have fun doing that tho
so do you know how I can do that???
yea but its kinda complicated
i will just do one script
and thne
connect everything in there
and it work
i also have no idea what that tool even is
normaly it should automaticly connected with the right arm
so the 3D is useless
everything was normal before but I followed the tutorial and now the tool looks like this
yea looks buns
WAIT BRO
where tf is the "handle" part ?
girly just go if you're gonna be this difficult for no reason
bro
I'm just asking for help no need to be extra
where is the "handle" part in the tool
and thne just change the "grip" at the tool propties to move it OR rotate it to the head or just the arm
thats jsut normal studio expierence bro
the base part is the "Grip" union
bro
you jsut doing more work without needed
just weld the parts to a handle and boom
finish
change the position and rotate of the tool with "grip"
and boom
finish again
** You are now Level 5! **