
693 Views
307 Executions
Math quiz
Universal Script 📌
Yzn_lol10K executions
10 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
Nothing just good for waiting
-- Endless Math Quiz with Win Streak (Respawn Safe)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- Remove old GUI
local function clearOldGui()
local oldGui = player.PlayerGui:FindFirstChild("MathQuizGui")
if oldGui then
oldGui:Destroy()
end
end
local function createQuiz()
clearOldGui()
local gui = Instance.new("ScreenGui")
gui.Name = "MathQuizGui"
gui.ResetOnSpawn = false
gui.Parent = player.PlayerGui
-- Open Button
local openButton = Instance.new("TextButton")
openButton.Size = UDim2.new(0, 140, 0, 40)
openButton.Position = UDim2.new(0, 20, 0.5, -20)
openButton.Text = "Math Quiz"
openButton.BackgroundColor3 = Color3.fromRGB(50, 200, 50)
openButton.Parent = gui
-- Quiz Frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 270)
frame.Position = UDim2.new(0.5, -175, 0.5, -135)
frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
frame.Visible = false
frame.Parent = gui
-- Close Button
local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0, 30, 0, 30)








ok
so funny=))