
3.6k Views
227 Executions
Script coordenadas by me
Universal Script 📌
BytelordPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Esse scripte é pra coordenação que quando tu criar o scripte você pode conseguir fazer um fe
-- Serviços
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
-- GUI
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
-- Caixa de texto (para copiar)
local textBox = Instance.new("TextBox", screenGui)
textBox.Size = UDim2.new(0, 200, 0, 50)
textBox.Position = UDim2.new(0, 10, 0, 10)
textBox.BackgroundColor3 = Color3.fromRGB(0,0,0)
textBox.BackgroundTransparency = 0.5
textBox.TextColor3 = Color3.fromRGB(255,255,255)
textBox.Font = Enum.Font.SourceSansBold
textBox.TextSize = 18
textBox.Text = "X: 0 Y: 0 Z: 0"
textBox.ClearTextOnFocus = false
textBox.TextEditable = false
-- Botão de copiar
local copyButton = Instance.new("TextButton", screenGui)
copyButton.Size = UDim2.new(0, 80, 0, 30)
copyButton.Position = UDim2.new(0, 220, 0, 20)
copyButton.Text = "Copiar"
copyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
copyButton.TextColor3 = Color3.fromRGB(255,255,255)
copyButton.Font = Enum.Font.SourceSansBold
copyButton.TextSize = 18
-- Atualiza coordenadas
RunService.RenderStepped:Connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local pos = player.Character.HumanoidRootPart.Position
textBox.Text = string.format("X: %.1f Y: %.1f Z: %.1f", pos.X, pos.Y, pos.Z)
end
end)
-- Função copiar









useless