Ok, my last one got taken down for some reason, anyways let me be more CLEAR.
I changed it up a little bit, and this is a Local Script in the Players PlayerGui.
plr=game.Players.LocalPlayer
playr=script.Parent.Parent
char=plr.CharacterAdded:wait()
local player=workspace:findFirstChild(playr.Name)
local humanoid = player.Character.Humanoid
player.Ankles.Changed:connect(function()
if player.Ankles.Value==100 then
local anim = Instance.new("Animation",char)
anim.AnimationId = "http://www.roblox.com/asset/?id=529177665"
local playAnim = humanoid:LoadAnimation(anim)
playAnim:Play()
script.Sound:Play()
wait(3) -- How long until they get back up
script.Sound:Stop()
player.Ankles.Value=0
end
end)
I don't know where the problem is, and it doesnt show it in output. Please Help?

1 comment
Well, with programming, it depends on your spacing too. I'd recommend you to space some things out