Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
player = Players.LocalPlayer
DODGE_DISTANCE =
PART_DODGE_DISTANCE =
TELEPORT_DISTANCE_MIN =
TELEPORT_DISTANCE_MAX =
DODGE_COOLDOWN =
lastDodge =
(myRoot)
_, otherPlayer (Players:())
otherPlayer ~= player
character = otherPlayer.Character
root = character
character:()
humanoid = character
character:()
root humanoid humanoid.Health >
(root.Position - myRoot.Position).Magnitude
<= DODGE_DISTANCE
_, part (:(
myRoot.Position,
PART_DODGE_DISTANCE
))
part:()
part.Anchored
part:(player.Character)
model = part:()
isCharacter = model
Players:(model)
isCharacter
(character, myRoot)
angle = .() * .pi *
distance = .(
TELEPORT_DISTANCE_MIN,
TELEPORT_DISTANCE_MAX
)
offset = .(
.(angle) * distance,
,
.(angle) * distance
)
destination = myRoot.Position + offset
rayParams = RaycastParams.()
rayParams.FilterType = .RaycastFilterType.Exclude
rayParams.FilterDescendantsInstances = {character}
result = :(
destination + .(, , ),
.(, -, ),
rayParams
)
result
destination = .(
destination.X,
result.Position.Y + ,
destination.Z
)
destination = .(
destination.X,
myRoot.Position.Y,
destination.Z
)
character:(
.(destination) * myRoot.CFrame.Rotation
)
RunService.Heartbeat:(()
.() - lastDodge < DODGE_COOLDOWN
character = player.Character
character
myRoot = character:()
humanoid = character:()
myRoot humanoid humanoid.Health <=
(myRoot)
lastDodge = .()
(character, myRoot)
)You can teleport away from players and parts

Universal