
KeylessUniversal

-- Script by vex-scripterYT ❤️
-- Serviços
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
-- Função personagem
local function getHRP()
local char = player.Character or player.CharacterAdded:Wait()
return char:WaitForChild("HumanoidRootPart")
end
-- UI
local gui = Instance.new("ScreenGui")
gui.Name = "CoordsSaverGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local main = Instance.new("Frame", gui)
main.Size = UDim2.fromScale(0.35, 0.4)
main.Position = UDim2.fromScale(0.3, 0.25)
main.BackgroundColor3 = Color3.fromRGB(25,25,25)
main.BorderSizePixel = 0
local corner = Instance.new("UICorner", main)
corner.CornerRadius = UDim.new(0, 12)
-- Barra superior
local top = Instance.new("Frame", main)
top.Size = UDim2.fromScale(1, 0.15)
top.BackgroundColor3 = Color3.fromRGB(40,40,40)
top.BorderSizePixel = 0
Instance.new("UICorner", top).CornerRadius = UDim.new(0,12)
local title = Instance.new("TextLabel", top)
title.Size = UDim2.fromScale(0.8, 1)
title.BackgroundTransparency = 1
title.Text = "📍 Coordenadas Saver"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 16
local close = Instance.new("TextButton", top)
close.Size = UDim2.fromScale(0.2,1)
close.Position = UDim2.fromScale(0.8,0)
close.Text = "X"
close.TextColor3 = Color3.new(1,0.3,0.3)
close.BackgroundTransparency = 1
close.Font = Enum.Font.GothamBold
close.TextSize = 18
close.MouseButton1Click:Connect(function()
gui:Destroy()
end)
-- Arrastar menu
do
local dragging, dragStart, startPos
top.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = main.Position
end
end)
UIS.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
local delta = input.Position - dragStart
main.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
end
-- Botão salvar
local save = Instance.new("TextButton", main)
save.Size = UDim2.fromScale(0.9, 0.15)
save.Position = UDim2.fromScale(0.05, 0.18)
save.Text = "💾 Salvar Coordenada Atual"
save.BackgroundColor3 = Color3.fromRGB(60,60,60)
save.TextColor3 = Color3.new(1,1,1)
save.Font = Enum.Font.Gotham
save.TextSize = 14
Instance.new("UICorner", save)
-- Lista
local list = Instance.new("ScrollingFrame", main)
list.Position = UDim2.fromScale(0.05, 0.36)
list.Size = UDim2.fromScale(0.9, 0.6)
list.CanvasSize = UDim2.new(0,0,0,0)
list.ScrollBarImageTransparency = 0.3
list.BackgroundColor3 = Color3.fromRGB(30,30,30)
Instance.new("UICorner", list)
local layout = Instance.new("UIListLayout", list)
layout.Padding = UDim.new(0,6)
-- Dados
local savedCoords = {}
local function refresh()
list.CanvasSize = UDim2.new(0,0,0,layout.AbsoluteContentSize.Y + 10)
end
-- Criar item
local function createItem(text, position)
local frame = Instance.new("Frame")
frame.Size = UDim2.fromScale(1,0)
frame.AutomaticSize = Enum.AutomaticSize.Y
frame.BackgroundTransparency = 1
frame.Parent = list
local label = Instance.new("TextLabel", frame)
label.Size = UDim2.fromScale(1,0)
label.AutomaticSize = Enum.AutomaticSize.Y
label.TextWrapped = true
label.Text = text
label.TextColor3 = Color3.new(1,1,1)
label.Font = Enum.Font.Code
label.TextSize = 12
label.BackgroundTransparency = 1
local btnCopy = Instance.new("TextButton", frame)
btnCopy.Size = UDim2.fromScale(0.45,0)
btnCopy.AutomaticSize = Enum.AutomaticSize.Y
btnCopy.Text = "📋 Copiar"
btnCopy.BackgroundColor3 = Color3.fromRGB(70,70,70)
btnCopy.TextColor3 = Color3.new(1,1,1)
btnCopy.Font = Enum.Font.Gotham
btnCopy.TextSize = 12
Instance.new("UICorner", btnCopy)
local btnTp = btnCopy:Clone()
btnTp.Text = "🚀 Teleportar"
btnTp.Position = UDim2.fromScale(0.55,0)
btnTp.Parent = frame
btnCopy.MouseButton1Click:Connect(function()
if setclipboard then
setclipboard(text)
end
end)
btnTp.MouseButton1Click:Connect(function()
getHRP().CFrame = CFrame.new(position)
end)
refresh()
end
-- Salvar coord
save.MouseButton1Click:Connect(function()
local pos = getHRP().Position
local text = string.format(
"Vector3.new(%.2f, %.2f, %.2f)",
pos.X, pos.Y, pos.Z
)
table.insert(savedCoords, pos)
createItem(text, pos)
end)No comments yet for this script.



