Hello, so I am making a disaster game. I want to make a gui that shows the disasters. To do this I was planning to connect it to the number generator that generates the disasters and make it change text accordingly, but it seems to not work. Any help? Minigamevalue is the number generated. So far only have the two disasters.
function disasterUpdate() if minigamevalue == 1 then disaster.Text = "Lava" elseif minigamevalue == 2 then disaster.Text = "Flash Flood" end end disasterUpdate() minigamevalue.Changed:Connect(disasterUpdate)