Universal Script 📌
1.7k Views
13 Executions

COORDINATE SHOW SAYING local IN CHAT Felipe94823

Universal Script 📌
soupiadista23mil
soupiadista23milFirst script
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

Show ur player current coordinate by saying 'local' in chat

View Raw
-- Script Local para Roblox - UI de Coordenadas
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Função para obter as coordenadas do jogador
local function getPlayerCoordinates()
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        local position = player.Character.HumanoidRootPart.Position
        return string.format("%.2f, %.2f, %.2f", position.X, position.Y, position.Z)
    end
    return "0, 0, 0"
end

-- Função para copiar texto para a área de transferência
local function copyToClipboard(text)
    if setclipboard then
        setclipboard(text)
    elseif syn and syn.write_clipboard then
        syn.write_clipboard(text)
    else
        warn("Função de copiar não disponível neste executor")
    end
end

-- Função para criar a UI
local function createCoordinatesUI()
    -- Verifica se já existe uma UI
    if playerGui:FindFirstChild("CoordinatesUI") then
        playerGui.CoordinatesUI:Destroy()
    end
    
    -- Criar ScreenGui
    local screenGui = Instance.new("ScreenGui")
    screenGui.Name = "CoordinatesUI"
    screenGui.Parent = playerGui
    


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 3 hours ago
Key System
Universal Script 📌
9.1k
31.7k
Bumped 5 hours ago
Script hub
49.9k
12.4k
Bumped 5 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 10 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 10 hours ago
Key System
Paid
Universal Script 📌
745
221
Approved 16 hours ago
Universal Script 📌
648
2.7k
Approved 16 hours ago