
5.1k Views
45 Executions
roblox studio script that makes A math game
Universal Script π
POOIPOOPPublished 10
2 years 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
-put this in server script service -server script BY CHATGPT
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 = 2, difficulty = "Easy"},
{question = "900/1", answer = 900, difficulty = "Impossible"},
{question = "9+9", answer = 18, difficulty = "Hard"},
{question = "3+1", answer = 4, difficulty = "Easy"},
{question = "(1000*2)+500", answer = 2500, difficulty = "Professional"},
}
local function assignSeats()
local players = Players:GetPlayers()
if #players >= minPlayers then
gameStarted = true
for i, player in ipairs(players) do
local seat = workspace.Seats:FindFirstChild("Seat" .. i)
if seat then
player.Character:SetPrimaryPartCFrame(seat.CFrame)
end
end
end
end
local function showEquation(player, equation)
local gui = ServerStorage.QuestionGui:Clone()
gui.Question.Text = equation.question
gui.Parent = player.PlayerGui
end
local function checkAnswer(player, input, equation)
if tonumber(input) == equation.answer then
player.leaderstats.Winstreak.Value = player.leaderstats.Winstreak.Value + 1
game:GetService("SoundService"):PlayLocalSound(workspace.WinSound) -- Play win sound








maybe itβs actually it works
lol this is a script
lol
this website is NOT for Roblox Studio, its for hacks...
good?