Run it
Copy the script and paste it into your executor.
-- EN: Teleport activates on Z
-- RU: Телепортация на кнопку Z
local Players = game:GetService("Players")
UserInputService = :()
= :()
ReplicatedStorage = :()
player = Players.LocalPlayer
mouse = player:()
teleportKey = .KeyCode.Z
(message)
screenGui = player:():()
screenGui
screenGui = .()
screenGui.Name =
screenGui.Parent = player:()
textLabel = .()
textLabel.Parent = screenGui
textLabel.Size = .(, , , )
textLabel.Position = .(, -, , -)
textLabel.Text = message
textLabel.TextColor3 = .(, , )
textLabel.BackgroundTransparency =
textLabel.TextSize =
textLabel.TextStrokeTransparency =
:():(textLabel, TweenInfo.(), {TextTransparency = }):()
()
textLabel:()
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == teleportKey
character = player.Character
character
root = character:()
root
rayOrigin = mouse.Hit.p + .(, , )
rayDirection = .(, -, )
ray = :(rayOrigin, rayDirection)
ray
targetPosition = ray.Position
root.CFrame = .(targetPosition + .(, , ))
(
)
(newKey)
teleportKey = newKey
(.KeyCode.Z) Teleports your character to your mouse cursor location ✔ Tested on: Xeno, Solara, JJS ❌ Not working on mobile (Delta) EN Important: Does not work properly in games with hitboxes or strong anti-cheat (like in JJS). May only work at short distances (~10–20 meters) | Only PC RU Важно: Может не работать в играх с хитбоксами или античитом (например в JJS). Иногда работает только на небольшом расстоянии (~10–20 метров) | Только ПК If you have any issues, write in the comments Если есть проблемы — напишите в комментарии