So, i wanted to do a betting function to my game. Now i am testing it and its supposed to print either true or false. But it dosen't print anything, dosen't even show an error.
Here is the code:
math.randomsee(tick()) script.Parent.MouseButton1Down:connect(function() script.Parent.Text = "Betting..." local profittable = {"true", "false"} print(profittable[math.random(2)]) end)