What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

position get

Version / Update: v1.0.0
Download / Script Link
-- =========================
-- GET EXACT POSITION SCRIPT
-- =========================
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local cf = hrp.CFrame
local pos = hrp.Position

-- =========================
-- PRINT TO CONSOLE
-- =========================
print("===== YOUR EXACT POSITION =====")
print("Position: " .. tostring(pos))
print("X: " .. pos.X)
print("Y: " .. pos.Y)
print("Z: " .. pos.Z)
print("")
print("CFrame (for TP use): " .. tostring(cf))
print("================================")

-- =========================
-- SHOW ON SCREEN (GUI)
-- =========================
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "PositionGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = LocalPlayer.PlayerGui

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 320, 0, 160)
frame.Position = UDim2.new(0.5, -160, 0, 20)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.BorderSizePixel = 0
frame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = frame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(50, 50, 200)
title.TextColor3 = Color3.new(1, 1, 1)
title.Text = "📍 Your Exact Position"
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.Parent = frame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 8)
titleCorner.Parent = title

local posLabel = Instance.new("TextLabel")
posLabel.Size = UDim2.new(1, -20, 0, 90)
posLabel.Position = UDim2.new(0, 10, 0, 35)
posLabel.BackgroundTransparency = 1
posLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
posLabel.TextXAlignment = Enum.TextXAlignment.Left
posLabel.TextScaled = true
posLabel.Font = Enum.Font.Code
posLabel.Text =
"X: " .. string.format("%.3f", pos.X) .. "\n" ..
"Y: " .. string.format("%.3f", pos.Y) .. "\n" ..
"Z: " .. string.format("%.3f", pos.Z)
posLabel.Parent = frame

local cfLabel = Instance.new("TextLabel")
cfLabel.Size = UDim2.new(1, -20, 0, 25)
cfLabel.Position = UDim2.new(0, 10, 0, 125)
cfLabel.BackgroundTransparency = 1
cfLabel.TextColor3 = Color3.fromRGB(180, 180, 180)
cfLabel.TextXAlignment = Enum.TextXAlignment.Left
cfLabel.TextScaled = true
cfLabel.Font = Enum.Font.Code
cfLabel.Text = string.format("CFrame: %.1f, %.1f, %.1f", cf.X, cf.Y, cf.Z)
cfLabel.Parent = frame

-- =========================
-- CLOSE BUTTON
-- =========================
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 24, 0, 24)
closeBtn.Position = UDim2.new(1, -28, 0, 3)
closeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
closeBtn.TextColor3 = Color3.new(1, 1, 1)
closeBtn.Text = "X"
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextScaled = true
closeBtn.Parent = frame

local closeBtnCorner = Instance.new("UICorner")
closeBtnCorner.CornerRadius = UDim.new(0, 4)
closeBtnCorner.Parent = closeBtn

closeBtn.MouseButton1Click:Connect(function()
screenGui:Destroy()
end)
[ View More ]
0d1ebe39-0804-42ba-b5df-807c2fd9a949.webp


to get your position execute this jajahauahwbaoaojajajajsnsnshsshsyhshshsiaiwiwuryhdbfbdnsksihs
 
Back
Top