Universal Script πŸ“Œ
307 Views
19 Executions

Generator

Universal Script πŸ“Œ
L1laqxz
L1laqxz10K executions
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Generator

View Raw
-- 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)


Comments

2
Log in to join the conversation. Login
romaegriscin's profile picture
romaegriscin11 months ago

Ahh noobs freaky GD decoπŸ₯€

2
L1laqxz's profile picture
L1laqxzUploader10 months ago

@romaegriscin haha it's not mine >:D I decorate better than that

1

More universal scripts

See all
Universal Script πŸ“Œ
227
1.6k
Bumped 51 minutes ago
Key System
Script hub
158.1k
496.8k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT

Universal Script πŸ“Œ
597.7k
4.2M
Bumped 3 hours ago
Script hub
51.0k
321.2k
Bumped 4 hours ago

Script hub

Nameless Admin

Script hub
176.9k
1.6M
Bumped 6 hours ago
Key System