Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My betting script idosen't print either true or false? [SOLVED BY PYRONDON]

Asked by
ARTEK22 135
7 years ago
Edited 7 years ago

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)
1
On the first line, math.randomseed is misspelled as math.randomsee. Pyrondon 2089 — 7y

Answer this question