Run it
Copy the script and paste it into your executor.
-- LocalScript (StarterPlayerScripts)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local teleportKey = Enum.KeyCode.LeftControl
local teleportKeyHeld = false
local waitingForKeyInput = false
gui = .(, player:())
gui.Name =
frame = .(, gui)
frame.Size = .(, , , )
frame.Position = .(, -, , )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.Active =
frame.Draggable =
button = .(, frame)
button.Size = .(, -, , -)
button.Position = .(, , , )
button.Text =
button.BackgroundColor3 = .(, , )
button.TextColor3 = .(, , )
button.Font = .Font.SourceSansBold
button.TextSize =
()
button.Text = .. teleportKey.Name
button.MouseButton1Click:(()
button.Text =
waitingForKeyInput =
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
waitingForKeyInput input.UserInputType == .UserInputType.Keyboard
teleportKey = input.KeyCode
waitingForKeyInput =
()
input.KeyCode == teleportKey
teleportKeyHeld =
)
UserInputService.InputEnded:((input)
input.KeyCode == teleportKey
teleportKeyHeld =
)
mouse.Button1Down:(()
teleportKeyHeld
character = player.Character
character character:()
targetPosition = mouse.Hit.Position + .(, , )
character:(targetPosition)
)
()
set the keybind to any desired key, and when hold it and then just press lmb, its like ctrl + tp but you can change the keybind

Universal