local function StartGame()
local map = game.ReplicatedStorage.Maps.TestMap:Clone()
map.Parent = workspace.GameArea
playerModule.teleportAllPlayers(workspace.GameArea.TestMap.spawn)
if votes.Mode.Bot.Value > 0 then
votes.Mode.Bot.Value = 0 --Right here!
end
roundModule.Countdown("Game", 10) --change to 420
end
while true do
Intermission()
--MapVote()
ModeVote()
StartGame()
end
The value won’t change to 0. It will change to any other number, just not 0
I tried not using the if statement, I tried using it in different scripts, but nothing.
New contributor
MyNameIsToday is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.