For some reason I get the output error, ** "Play is not a member of Animation" Help?!**
This localscript works from StarterPack
local WalkIDanimation = Instance.new("Animation")
local Player = game.Players.LocalPlayer
local Character = Player.Character
local RunSpeed = 132 -- the speed they run
local WalkSpeed = 16 -- the speed they walk
local JogSpeed = 59
for i = 1,math.huge do
if Character.Humanoid.WalkSpeed > RunSpeed then
Character.Humanoid:LoadAnimation(WalkIDanimation)
WalkIDanimation.AnimationId = "http://www.roblox.com/asset/?id=843278004"
WalkIDanimation:Play()
elseif Character.Humanoid.WalkSpeed > JogSpeed then
WalkIDanimation.AnimationId = "http://www.roblox.com/asset/?id=865162365"
WalkIDanimation:Play()
elseif Character.Humanoid.WalkSpeed < RunSpeed then
WalkIDanimation.AnimationId = "http://www.roblox.com/asset/?id=865162365"
WalkIDanimation:Play()
wait()
end
end
