
Universal Script – Copy locally
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local pg = player:WaitForChild("PlayerGui")
local old = pg:FindFirstChild("CopyLocation")
if old then old:Destroy() end
local gui = Instance.new("ScreenGui")
gui.Name = "CopyLocation"
gui.ResetOnSpawn = false
gui.DisplayOrder = 9999
gui.Parent = pg
local frame = Instance.new("Frame")
frame.Size = UDim2.fromOffset(300, 190)
frame.Position = UDim2.new(0.5, -150, 0.5, -95)
frame.BackgroundColor3 = Color3.fromRGB(24, 24, 34)
frame.BorderSizePixel = 0
frame.Active = true
frame.Parent = gui
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
local title = Instance.new("TextButton")
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundColor3 = Color3.fromRGB(105, 55, 190)
title.Text = "COPY LOCATION [-]"
title.TextColor3 = Color3.new(1, 1, 1)
title.Font = Enum.Font.GothamBold
title.TextSize = 15
title.Parent = frame
Instance.new("UICorner", title).CornerRadius = UDim.new(0, 10)
local box = Instance.new("TextBox")
box.Position = UDim2.fromOffset(10, 50)
box.Size = UDim2.new(1, -20, 0, 55)
box.BackgroundColor3 = Color3.fromRGB(42, 42, 55)
box.TextColor3 = Color3.new(1, 1, 1)
box.Text = "Your position will appear here"
box.TextWrapped = true
box.TextSize = 13
box.ClearTextOnFocus = false
box.MultiLine = true
box.Parent = frame
Instance.new("UICorner", box).CornerRadius = UDim.new(0, 7)
local btn = Instance.new("TextButton")
btn.Position = UDim2.fromOffset(10, 120)
btn.Size = UDim2.new(1, -20, 0, 42)
btn.BackgroundColor3 = Color3.fromRGB(125, 65, 220)
btn.TextColor3 = Color3.new(1, 1, 1)
btn.Text = "SHOW CODE"
btn.Font = Enum.Font.GothamBold
btn.TextSize = 15
btn.Parent = frame
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
local minimized = false
title.Activated:Connect(function()
minimized = not minimized
box.Visible = not minimized
btn.Visible = not minimized
frame.Size = minimized
and UDim2.fromOffset(200, 40)
or UDim2.fromOffset(300, 190)
title.Text = minimized
and "COPY LOCATION [+]"
or "COPY LOCATION [-]"
end)
btn.Activated:Connect(function()
local char = player.Character
local root = char and char:FindFirstChild("HumanoidRootPart")
if root then
local p = root.Position
box.Text = string.format(
"Vector3.new(%.2f, %.2f, %.2f)",
p.X, p.Y, p.Z
)
else
box.Text = "Character not found"
end
end)
-- Drag support for PC and mobile
local dragging = false
local dragStart
local startPos
title.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
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
frame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end)How to Execute Universal Script – Copy locally
Step 1: Copy Code: Click the Copy Code button in the viewer above to grab the clean Lua loadstring.
Step 2: Launch Executor: Open a compatible, unpatched executor. If you need one, check our Roblox Executors Directory.
Step 3: Join Experience: Launch Roblox and join Universal Script.
Step 4: Attach & Run: Attach/inject your executor into the Roblox process, paste the code into the script tab, and press Execute.
Created By
View Author ProfileFeatures & Information
Script Changelog (2)
Community Comments (0)
No comments yet for this script.
Frequently Asked Questions
How do I execute Universal Script – Copy locally in Roblox?
To run Universal Script – Copy locally, copy the Lua loadstring from the code viewer above, launch Roblox and join Universal Script, attach a working executor (such as Potassium, Solara, or Delta from our Executors directory), paste the code into your executor console, and click Execute.
Is Universal Script – Copy locally keyless or does it require an access key?
Universal Script – Copy locally requires an access key. You can retrieve the official key directly using the Get Script Key link provided above.
Is Universal Script – Copy locally currently safe and working?
This script is active and operational. Always test scripts using a secondary (alt) Roblox account to safeguard your main profile against anti-cheat bans.


![Ez Hub [Open Source] [150+ games] - Verified script for Universal Script](https://media.kocakz.me/b74a9ac15370ba766b2fa9531f17c9dad2c0befb2b951693ae723e4c7d2c3fb6.webp)

![[KEYLESS] Moondiety Script | 20+ supported Games - Verified script for Universal Script](https://media.kocakz.me/6834c33a36c9fbe66afae4c6754c2b80386ce636b2f972464a95866f4b6a42eb.webp)

