When you equip a tool in Roblox, your hand raises up. How can I make it so it doesn't do this? Or apply an animation holding position?
How do I stop my hand from raising when I equip a tool?
2 answers
Just don't use Handle, there a part in the tool called "Handle" rename it and that all.
Here is a better idea, create an Animation, export it to roblox, use its ID, ( Note : Make sure to not ENABLE Looping, unless its an IDLE animation. ), then create an Animation inside the Tool, And then make a script like this..
tool = script.Parent
if tool.Activated = true then
script.Parent.Animation:Play() --change it to the name of the animation you created.
if tool.Unequipped = true then
script.Parent.Animation:Stop()
I'm not 100% sure if it works, tell me if it gives an error. Hope this helps :)!
Tool = script.Parent
local player = game.Players.LocalPlayer
repeat wait() until player.Character ~= nil
local hum = player.Character:WaitForChild("Humanoid")
local animation = Tool.DanceAnim --Change DanceAnim to the name of your animation.
local AnimTrack = hum:LoadAnimation(animation) --Loads the animation into the humanoid.
Tool.Selected:connect(function(mouse) --If you're using a tool, change Selected to Activated, and get rid of the code on the next line. Otherwise, keep this the same.
mouse.Button1Down(connect(function() --As mentioned above, delete this line if you're using a tool.
AnimTrack:Play()
end)
end)
Tool.Deselected:connect(function() --If you're using a tool, change Deselected to Unequipped. Otherwise keep it the same.
AnimTrack:Stop()
end)
If my script doesn't works then try this to run an animation inside your tool ( Credits to Spongocardo )
6 comments
OR you could turn off RequiresHandle in tool properties
You see, some tools such as swords require HANDLES, so?
do I use a local script?
it doesn't with a local script/normal script.
Try normal Script, if it doesn't works, try the new script i added from another scripter, ( Credits to Spongocardo )
Sorry, this still doesn't work.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Do not use xJathur95x's answer, if your tool requires a handle, then it won't work without a handle.
i mean turning off the "require handle" in tool settings
sorry, this isnt working.