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?

2 comments

0

the code is very confusing can you please use a code block

0

Done