ADVERTISEMENTREMOVE ADS
Description
This script uses body velocity and magnitude to check the distance between you and the Target and take you there! It is faster than a tween!
Features:
- Fly To Player
ADVERTISEMENTREMOVE ADS
17 Lines • 543 Bytes
_G.Target = "PLAYER NAME HERE"
local player = game.Players.LocalPlayer
local targetPlayer = game.Players:FindFirstChild(_G.Target)
if not targetPlayer then
return
end
local speed = 100
while (targetPlayer.Character.Head.Position - player.Character.Head.Position).magnitude > 2 do
local direction = (targetPlayer.Character.Head.Position - player.Character.Head.Position).unit
player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position + direction * speed/30)
wait()
end
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS








Comments