of     1   

ShadowAley
#141415942Thursday, July 24, 2014 8:13 PM GMT

function randomhint() choice = math.random(1,5) end ----------- this is all I have so far, my best try was if choice = 1 then do BLAH BLAH BLAH elseif choice = 2 then do But I got errors everywhere. I am new to scripting so can someone help me?
cntkillme
#141416463Thursday, July 24, 2014 8:18 PM GMT

if choice == 1 then --blah blah elseif choice == 2 then --blah blah etc
systematicaddict
#141416580Thursday, July 24, 2014 8:19 PM GMT

choices = {"hi", "hello", "hola", "bonjour"} --This is a table, you can make a list of strings but separate them with ','s randomchoice = choices[math.random(#choices)] script.Parent.Text = randomchoice
ShadowAley
#141417437Thursday, July 24, 2014 8:26 PM GMT

Thanks!

    of     1