ADVERTISEMENTREMOVE ADS
Game icon

SCRIPT X Y Z

Script preview thumbnail
Script Preview

Description

X Y Z is a script help u write a teleport with xyz. It can use in many game.

ADVERTISEMENTREMOVE ADS
27 Lines • 952 Bytes
Raw
--=== HIỆN TỌA ĐỘ XYZ CỦA NGƯỜI CHƠI ===--
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- Tạo GUI
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
screenGui.Name = "ToaDoGUI"
local label = Instance.new("TextLabel", screenGui)
label.Size = UDim2.new(0, 300, 0, 50)
label.Position = UDim2.new(0, 10, 0, 10)
label.BackgroundTransparency = 0.5
label.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.TextScaled = true
label.Font = Enum.Font.SourceSansBold
label.Text = "Tọa độ: đang tải..."
-- Cập nhật tọa độ liên tục
game:GetService("RunService").RenderStepped:Connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local pos = player.Character.HumanoidRootPart.Position
label.Text = string.format("Tọa độ: X=%.2f, Y=%.2f, Z=%.2f", pos.X, pos.Y, pos.Z)
end
end)
ADVERTISEMENTREMOVE ADS

Comments

4 comments
to add a comment
Hu

local plr = game.Players.LocalPlayer local char = plr.Character or plr.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") -- Thử reset velocity để tránh anti-teleport hrp.Velocity = Vector3.zero hrp.RotVelocity = Vector3.zero -- Teleport đến tọa độ hrp.CFrame = CFrame.new(x, y, z)

0
0
Hu

U can replace x y z by my x y z script have many number and replace

0
0
Hu

First number is x. example x: 1000 or -1000. Second number is y. example y : 3 or -3. Third number is z . example z : 500 or -500

0
0
Hu

I use chat gpt :)

0
0
ADVERTISEMENTREMOVE ADS