local plr = game.Players.LocalPlayer
local event = script.Parent.RemoteEvent
local gunMod = script.Parent.Parent["gun model excluding the handle.......obviously"]
local tool = script.Parent.Parent
local holdAnim = script.Parent.Hold
tool.Equipped:Connect(function()
local animator
wait(0.2)
local humanoid = script.Parent.Parent.Parent:WaitForChild("Humanoid")
print(humanoid)
print(humanoid.Parent)
if humanoid ~= nil then
animator = Instance.new("Animator",humanoid)
animator.Parent = humanoid
end
holdAnim.Parent = humanoid
local Animater = humanoid:WaitForChild("Animator")
local loadedAnim = Animater:LoadAnimation(holdAnim)
loadedAnim:Play()
print("H")
end)
This is on a Server Script . What happens: https://gyazo.com/178fd7dc5d1027c5bcb309228055e64e Please help me bustaronies ! There are NO errors in output
Also I just want to thank this Site because I probably wouldnt be coding if it didnt push me to start, thanks to everybody who responed to all my threads, I greatly appreciate you. Anybody can learn LUA

5 comments
Ok Ill try it out
It did not work, by the animation is incredibly long and Looped when I made it
@ym5a Are there any errors in the output?
https://gyazo.com/3066095fdc2020e0ffa4a7f7cddb0741 This is what happens, I also added when it is unequipped it stops playing the Animation
@MarkedTomate No.