I am trying to get a radius from a local player within an NPC any help? I made this magnitude script but you guys are probably looking at it thinking its a joke.
local Player = game.Players.LocalPlayer.Character local Zombie = game.Workspace.Zombie
if (Player.Torso.Position - Zombie.Torso.Position).magnitude <= 10 then print("it works") end

1 comment
thanks, it worked!