Universal Script ๐Ÿ“Œ
4.6k Views
915 Executions

TP tool

Universal Script ๐Ÿ“Œ
utemporary471
utemporary471Published 10
1 year 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

teleporting upon click(now originally made by me, no longer copied)

View Raw
local player = game.Players.LocalPlayer
local backpack = player:WaitForChild("Backpack")

local tool = Instance.new("Tool")
tool.Name = "TP Tool"
tool.RequiresHandle = true
tool.CanBeDropped = false

local handle = Instance.new("Part")
handle.Name = "Handle"
handle.Size = Vector3.new(1,1,1)
handle.Color = Color3.fromRGB(128, 128, 128) 
handle.Material = Enum.Material.Plastic 
handle.CanCollide = false
handle.Anchored = false
handle.Parent = tool

tool.Parent = backpack

local mouse = player:GetMouse()
local maxDistance = 1000

tool.Activated:Connect(function()
    local targetPos = mouse.Hit.p
    local char = player.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end
    local hrp = char.HumanoidRootPart
    local distance = (targetPos - hrp.Position).Magnitude
    if distance <= maxDistance then
        hrp.CFrame = CFrame.new(targetPos + Vector3.new(0,5,0))
    else
        print("Teleport too far!")
    end
end)


Comments

9
Log in to join the conversation. Login
zxcv's profile picture
zxcv1 year ago

... should've had ping three of us in a single comment. ๐ŸฅนโœŒ๏ธ

1
utemporary471's profile picture
utemporary471Uploader1 year ago

@zxcv ill think of that next time XD

1
iplaywarzone5's profile picture
iplaywarzone51 year ago

youre trash.

0
utemporary471's profile picture
utemporary471Uploader1 year ago

@iplaywarzone5 Thank you, i take hate kindly(and criticism). but this isnt a repost, my friend gave it to me and told me to post it since he too lazy to. so.. yeah. ill credit him on yt publicly in wherever i can edit

0
Gmiler_lol's profile picture
Gmiler_lol1 year ago

Repost

0
utemporary471's profile picture
utemporary471Uploader1 year ago

@Gmiler_lol Thank you, i take hate kindly(and criticism). but this isnt a repost, my friend gave it to me and told me to post it since he too lazy to. so.. yeah. ill credit him on yt publicly in wherever i can edit

-2
Gmiler_lol's profile picture
Gmiler_lol1 year ago

@utemporary471 It's okay, but you could say it's not yours. I saw a similar script on Pastebin in 2022, and if there are any errors, please forgive me as I'm not Russian.

1
zxcv's profile picture
zxcv1 year ago

quit reposting

0
utemporary471's profile picture
utemporary471Uploader1 year ago

@zxcv Thank you, i take hate kindly(and criticism). but this isnt a repost, my friend gave it to me and told me to post it since he too lazy to. so.. yeah. ill credit him on yt publicly in wherever i can edit

1

More universal scripts

See all
Universal Script ๐Ÿ“Œ
4.0k
26.6k
4 months ago
Script hub
1.1k
28
4 days ago
Key System
Script hub
3.5M
1.0M
1 year ago
Key System
Script hub
2.7M
643.6k
4 months ago
Key System

Script hub

#2 today

Verified script badgeFlow Hub | 35 Games | Updated