Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I change the players walkspeed and animation at under 20 health?

I'm really REALLY new to scripting, I honestly don't know much and I only know very very few things. I need help with this because I don't know how to do it myself. Thanks, hakerethan.

2 comments

0

why was this upvoted

0

idk lol

1 answer

I think this should work

local Health = game.Players.LocalPlayer.Character.Humanoid.Health
Health.Changed:Connect(function()
if Health <= 20 then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = -- The walkspeed number

As for the animation I do not know, should be around the same gist of this though

1 comment

0

Unfortunately, it does not work. But I can see what you are trying to do, and I think I am good on my own now. Sorry for taking so long.

This discussion is preserved as it was. New answers, comments, and votes are closed.