Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I make the player's hip height increase to a specific amount when it is near a part?

Asked by 5 years ago
Edited 5 years ago
game:GetService("Workspace")["Zombies"]["Mobs"]["Infected"]["UpperTorso"] --Zombies Pathway to Torso

game.Players.LocalPlayer.Character.Humanoid.HipHeight= 7 -- Changes when zombies are near(On)
--Code Here that detects zombies and changes your HipHeight

game.Players.LocalPlayer.Character.Humanoid.HipHeight= 1.35 --Changes when zombies are no longer near(Off)

How would I use Magnitude in this case?

0
the code is very confusing can you please use a code block Fad99 286 — 5y
0
Done User#25706 0 — 5y

Answer this question