So basically this script is supposed to load animations on keydown, but it's not doing so. Here's the script, I tried local script, I tried starterpack, I don't know what else to try.. Help?
User = game.Players.LocalPlayer UserMouse = User:GetMouse() Animation = Instance.new("Animation") Animation.AnimationId = "http://www.roblox.com/Asset?ID=190972547" Animation.Name = "BackFlip" animTrack = User.Character.Humanoid:LoadAnimation(Animation) UserMouse.KeyDown:connect(function(key) -- keydown function if key == "q" then animTrack:Play() end end)
Locked by MrNicNac
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?