local player = game.Players.LocalPlayer
repeat wait() until player.Character.Humanoid
local humanoid = player.Character.Humanoid
local mouse = player:GetMouse()
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=3818677"
mouse.KeyDown:connect(function(key)
if key == "m" then
local playAnim = humanoid:LoadAnimation(anim)
playAnim:Play()
end
end)
I don't know what I've done wrong with this, It doesn't play the animation. Also, I don't know if this effects it but it's a group animation in a group place. If possible would you be able to add a freeze script that stops the player from moving while the animation is on?

1 comment
What shows in output?