Example:
Array={"Hi","Bye","Hello","Thankyou"}
Array2={"Super","Fast","Slow","Thinker"}
StringValue="One of the Array Values"
for s=1,4 do
wait(1)
RandomArray=math.random(1,2)
if RandomArray==2 then RandomArray=Array2
else if RandomArray==1 then RandomArray=Array
StringValue=tostring(RandomArray[s]..s,' ')
s=s+1
print(StringValue)
end end end
So basically what this psuedo (it doesn't work) script is suppose to do is randomly choose an array and chronologically print the values of the array values so if RandomArray=1 RandomArray=Array and if [s] = 4 then It should print the value Thankyou. The StringValue would look like this v StringValue=tostring(Array[4]..s' ') print(Array[4]..s)==print(StringValue)
Thankyou4
Novice Scripter "SamDomino"

1 comment
thanks.