
Key Required

--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
local player = game.Players.LocalPlayer
-- Function to copy the game ID
local function copyTheId()
local gameId = game.PlaceId -- get the Place ID
print("Found game ID: " .. gameId) -- print it for checking
-- Try to copy to clipboard
local worked, oops = pcall(function()
setclipboard(tostring(gameId)) -- copy the ID
end)
if worked then
print("Copied game ID " .. gameId .. " to clipboard!")
else
print("Oh no, couldn't copy the ID! Error: " .. oops)
end
end
-- Run it right away when the script starts
copyTheId()No comments yet for this script.