
307 Views
19 Executions
Generator
Universal Script π
L1laqxz10K executions
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Generator
-- 6-Digit Code Generator Squircle GUI
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
math.randomseed(os.clock() * 100000)
-- ===== Functions =====
local function generate6DigitCode()
return string.format("%06d", math.random(0, 999999))
end
local function applySquircle(frame, radius)
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, radius or 20)
corner.Parent = frame
end
-- ===== GUI =====
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CodeGeneratorGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.fromOffset(280, 160)
mainFrame.Position = UDim2.fromScale(0.5, 0.5)
mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
mainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
mainFrame.Active = true
mainFrame.Parent = screenGui
applySquircle(mainFrame, 24)
-- ===== Credit Text (Top Left) =====
local creditLabel = Instance.new("TextLabel")
creditLabel.Size = UDim2.fromOffset(160, 20)
creditLabel.Position = UDim2.fromOffset(10, 8)









Ahh noobs freaky GD decoπ₯
@romaegriscin haha it's not mine >:D I decorate better than that