ADVERTISEMENTREMOVE ADS

Faster Tween Script [NEW]

Universal script
2 years ago
Script preview thumbnail
Script Preview
ve
vexxlycoding

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
Raw
_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

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS