Universal Script 📌
610 Views
27.0k Executions

Teleport tool

10K executions
Universal Script 📌
L1laqxz
L1laqxz10K executions
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Teleport

View Raw
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

-- Create tool
local tool = Instance.new("Tool")
tool.Name = "Teleport Tool"
tool.RequiresHandle = false
tool.Parent = player.Backpack

local maxDistance = 500

tool.Activated:Connect(function()
    local char = player.Character
    if not char then return end
    
    local root = char:FindFirstChild("HumanoidRootPart")
    if not root then return end
    
    local target = mouse.Hit.Position
    local distance = (root.Position - target).Magnitude
    
    if distance <= maxDistance then
        root.CFrame = CFrame.new(target + Vector3.new(0,3,0))
    else
        warn("Too far!")
    end
end)


Comments

1
Log in to join the conversation. Login
tan99's profile picture
tan999 months ago

s

1

More universal scripts

See all
Script hub
2.0M
626.6k
Bumped 17 minutes ago
Key System
Script hub
202.4k
2.3M
Bumped 2 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script 📌
57.4k
270.2k
Bumped 4 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 7 hours ago
Key System
Universal Script 📌
33.4k
479.6k
Bumped 7 hours ago
Script hub
4.0M
2.7M
Bumped 7 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games