Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local ServerStorage = game:GetService("ServerStorage")
local minPlayers = 10
local maxPlayers = 10
local gameStarted = false
local equations = {
{question = "1+1", answer = , difficulty = },
{question = , answer = , difficulty = },
{question = , answer = , difficulty = },
{question = , answer = , difficulty = },
{question = , answer = , difficulty = },
}
()
players = Players:()
#players >= minPlayers
gameStarted =
i, player (players)
seat = .Seats:( .. i)
seat
player.Character:(seat.CFrame)
(player, equation)
gui = ServerStorage.QuestionGui:()
gui.Question.Text = equation.question
gui.Parent = player.PlayerGui
(player, input, equation)
(input) == equation.answer
player.leaderstats.Winstreak.Value = player.leaderstats.Winstreak.Value +
:():(.WinSound)
:():(.KillSound)
player:()
()
gameStarted
()
players = Players:()
_, player (players)
randomEquation = equations[.(, #equations)]
(player, randomEquation)
Players.PlayerAdded:((player)
#Players:() >= minPlayers
()
)
()
teacher = .Teacher
correctButton = .()
correctButton.Text =
correctButton.Parent = teacher
wrongButton = .()
wrongButton.Text =
wrongButton.Parent = teacher
()

Universal