ADVERTISEMENTREMOVE ADS
POSITION LOGGER OPEN SOURCE
45,479 views
Universal script•
10 months ago

Script Preview
Description
ADVERTISEMENTREMOVE ADS
92 Lines • 2.78 KiB
local player = game:GetService("Players").LocalPlayer
local mouse = player:GetMouse()
local gui = Instance.new("ScreenGui")
gui.Parent = player.PlayerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 300, 0, 400)
frame.Position = UDim2.new(1, -310, 0.3, 0)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Parent = gui
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
title.Text = "Position Logger"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 16
title.Parent = frame
print("external.wtfmadeths")
local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Size = UDim2.new(1, 0, 1, -70)
scrollFrame.Position = UDim2.new(0, 0, 0, 35)
scrollFrame.BackgroundTransparency = 1
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
scrollFrame.Parent = frame
local listLayout = Instance.new("UIListLayout")
listLayout.Parent = scrollFrame
local copyButton = Instance.new("TextButton")
copyButton.Size = UDim2.new(1, 0, 0, 30)
copyButton.Position = UDim2.new(0, 0, 1, -35)
copyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
copyButton.Text = "Copy Position"
copyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
copyButton.Font = Enum.Font.SourceSansBold
copyButton.TextSize = 16
copyButton.Parent = frame
local copyAllButton = Instance.new("TextButton")
copyAllButton.Size = UDim2.new(1, 0, 0, 30)
copyAllButton.Position = UDim2.new(0, 0, 1, 0)
copyAllButton.BackgroundColor3 = Color3.fromRGB(0, 255, 100)
copyAllButton.Text = "Copy All Positions"
copyAllButton.TextColor3 = Color3.fromRGB(255, 255, 255)
copyAllButton.Font = Enum.Font.SourceSansBold
copyAllButton.TextSize = 16
copyAllButton.Parent = frame
local positions = {}
local function addPosition()
if not player.Character or not player.Character.PrimaryPart then return end
local pos = player.Character.PrimaryPart.Position
table.insert(positions, pos)
local posLabel = Instance.new("TextLabel")
posLabel.Size = UDim2.new(1, 0, 0, 25)
posLabel.BackgroundTransparency = 1
posLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
posLabel.Font = Enum.Font.SourceSans
posLabel.TextSize = 14
posLabel.Text = tostring(pos)
posLabel.Parent = scrollFrame
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, #positions * 30)
end
local function copyAllToClipboard()
local posString = ""
for _, pos in ipairs(positions) do
posString = posString .. tostring(pos) .. "\n"
end
setclipboard(posString) -- Copies to clipboard
end
copyButton.MouseButton1Click:Connect(addPosition)
copyAllButton.MouseButton1Click:Connect(copyAllToClipboard)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS





Comments