Universal Script πŸ“Œ
312 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
L1laqxzUploader11 months ago

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

1

More universal scripts

See all
Script hub
2.0M
626.6k
Bumped 17 minutes ago
Key System
Script hub
202.4k
2.3M
Bumped 2 hours ago
Key System

Script hub

#20 this week

Verified script badgeAirflow HUB

Universal Script πŸ“Œ
57.4k
270.2k
Bumped 4 hours ago
Key System
Script hub
2.2M
2.5M
Bumped 7 hours ago
Key System
Universal Script πŸ“Œ
33.4k
479.6k
Bumped 7 hours ago
Script hub
4.0M
2.7M
Bumped 7 hours ago

Script hub

Hall of Fame #5

KeylessVerified script badge[KEYLESS] Moondiety Script | 30+ supported Games