
Key Required Verified

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "YourPositionGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local loadingFrame = Instance.new("Frame", gui)
loadingFrame.Size = UDim2.new(0, 260, 0, 130)
loadingFrame.Position = UDim2.new(0.5, -130, 0.5, -65)
loadingFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
loadingFrame.BorderSizePixel = 0
Instance.new("UICorner", loadingFrame).CornerRadius = UDim.new(0, 18)
local loadStroke = Instance.new("UIStroke", loadingFrame)
loadStroke.Color = Color3.fromRGB(70, 70, 70)
loadStroke.Thickness = 1.5
local loadingText = Instance.new("TextLabel", loadingFrame)
loadingText.Size = UDim2.new(1, 0, 0, 60)
loadingText.Position = UDim2.new(0, 0, 0, 15)
loadingText.BackgroundTransparency = 1
loadingText.Text = "Loading..."
loadingText.TextColor3 = Color3.fromRGB(255, 255, 255)
loadingText.Font = Enum.Font.GothamBold
loadingText.TextSize = 16
local barBg = Instance.new("Frame", loadingFrame)
barBg.Size = UDim2.new(1, -40, 0, 10)
barBg.Position = UDim2.new(0, 20, 1, -35)
barBg.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
barBg.BorderSizePixel = 0
Instance.new("UICorner", barBg).CornerRadius = UDim.new(1, 0)
local bar = Instance.new("Frame", barBg)
bar.Size = UDim2.new(0, 0, 1, 0)
bar.BackgroundColor3 = Color3.fromRGB(85, 170, 255)
bar.BorderSizePixel = 0
Instance.new("UICorner", bar).CornerRadius = UDim.new(1, 0)
TweenService:Create(bar, TweenInfo.new(1.4), {
Size = UDim2.new(1, 0, 1, 0)
}):Play()
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 300, 0, 150)
frame.Position = UDim2.new(0.05, 0, 0.05, 0)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.BorderSizePixel = 0
frame.Visible = false
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 20)
local stroke = Instance.new("UIStroke", frame)
stroke.Color = Color3.fromRGB(80, 80, 80)
stroke.Thickness = 1.5
local header = Instance.new("Frame", frame)
header.Size = UDim2.new(1, 0, 0, 36)
header.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
header.BorderSizePixel = 0
Instance.new("UICorner", header).CornerRadius = UDim.new(0, 20)
local title = Instance.new("TextLabel", header)
title.Size = UDim2.new(1, -40, 1, 0)
title.Position = UDim2.new(0, 12, 0, 0)
title.BackgroundTransparency = 1
title.Text = "Your Position"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 15
title.TextXAlignment = Enum.TextXAlignment.Left
local closeBtn = Instance.new("TextButton", header)
closeBtn.Size = UDim2.new(0, 26, 0, 26)
closeBtn.Position = UDim2.new(1, -32, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 16
closeBtn.AutoButtonColor = false
Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(1, 0)
local posLabel = Instance.new("TextLabel", frame)
posLabel.Size = UDim2.new(1, -20, 0, 60)
posLabel.Position = UDim2.new(0, 10, 0, 46)
posLabel.BackgroundTransparency = 1
posLabel.TextColor3 = Color3.fromRGB(210, 210, 210)
posLabel.Font = Enum.Font.Gotham
posLabel.TextSize = 14
posLabel.TextXAlignment = Enum.TextXAlignment.Left
posLabel.TextYAlignment = Enum.TextYAlignment.Top
local copyBtn = Instance.new("TextButton", frame)
copyBtn.Size = UDim2.new(1, -20, 0, 34)
copyBtn.Position = UDim2.new(0, 10, 1, -44)
copyBtn.BackgroundColor3 = Color3.fromRGB(0, 130, 255)
copyBtn.Text = "Copy"
copyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
copyBtn.Font = Enum.Font.GothamBold
copyBtn.TextSize = 14
copyBtn.AutoButtonColor = false
Instance.new("UICorner", copyBtn).CornerRadius = UDim.new(0, 10)
task.delay(2, function()
loadingFrame:Destroy()
frame.Visible = true
frame.BackgroundTransparency = 1
for _, v in ipairs(frame:GetDescendants()) do
if v:IsA("TextLabel") or v:IsA("TextButton") then
v.TextTransparency = 1
end
end
TweenService:Create(frame, TweenInfo.new(0.4), {
BackgroundTransparency = 0
}):Play()
for _, v in ipairs(frame:GetDescendants()) do
if v:IsA("TextLabel") or v:IsA("TextButton") then
TweenService:Create(v, TweenInfo.new(0.4), {TextTransparency = 0}):Play()
end
end
end)
closeBtn.MouseButton1Down:Connect(function()
TweenService:Create(closeBtn, TweenInfo.new(0.08), {
Size = UDim2.new(0, 22, 0, 22),
Position = UDim2.new(1, -30, 0, 7)
}):Play()
end)
closeBtn.MouseButton1Up:Connect(function()
TweenService:Create(closeBtn, TweenInfo.new(0.08), {
Size = UDim2.new(0, 26, 0, 26),
Position = UDim2.new(1, -32, 0, 5)
}):Play()
end)
closeBtn.MouseButton1Click:Connect(function()
local flyOut = TweenService:Create(frame, TweenInfo.new(0.45, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
Position = UDim2.new(1.2, 0, frame.Position.Y.Scale, frame.Position.Y.Offset),
BackgroundTransparency = 1
})
flyOut:Play()
for _, v in ipairs(frame:GetDescendants()) do
if v:IsA("TextLabel") or v:IsA("TextButton") then
TweenService:Create(v, TweenInfo.new(0.25), {
TextTransparency = 1,
BackgroundTransparency = 1
}):Play()
end
end
flyOut.Completed:Wait()
frame.Visible = false
end)
local currentPosition = Vector3.new()
RunService.RenderStepped:Connect(function()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
currentPosition = player.Character.HumanoidRootPart.Position
posLabel.Text = string.format("X: %.2f\nY: %.2f\nZ: %.2f",
currentPosition.X, currentPosition.Y, currentPosition.Z)
end
end)
copyBtn.MouseButton1Click:Connect(function()
if setclipboard then
local originalSize = copyBtn.Size
setclipboard(string.format("Vector3.new(%.2f, %.2f, %.2f)",
currentPosition.X, currentPosition.Y, currentPosition.Z))
copyBtn.Text = "Copied"
local shrink = TweenService:Create(copyBtn, TweenInfo.new(0.08), {
Size = UDim2.new(1, -30, 0, 28)
})
local expand = TweenService:Create(copyBtn, TweenInfo.new(0.08), {
Size = originalSize
})
shrink:Play()
shrink.Completed:Wait()
expand:Play()
task.wait(1)
copyBtn.Text = "Copy"
end
end)



its good for scripters no auto copy could be better!
Done
Thanks thats great to have!
Hey OnlyThePower
Contact me at discord sc.devolper