notnin
|
  |
| Joined: 07 Nov 2013 |
| Total Posts: 436 |
|
|
| 14 Dec 2013 12:26 PM |
DisplayMessageTime = 2 Set1 = {"Play was handeled"} Set2 = {"cleanly", "cleanly", "cleanly", "not cleanly", "cleanly"} Set3 = {"Throw was clean", "Throw was clean", "Throw was clean", "Throw was clean", "Throw was clean", " Throw was not clean"} while true do if(message == "1") then X = Set1[math.random(1, #Set1)] Y = Set2[math.random(1, #Set2)] Z = Set3[math.random(1, #Set3)] local msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = "" ..X.. " " ..Y.. " " ..Z.. "!" wait(DisplayMessageTime) wait (5) msg:Remove() end
taking a while for scripting helpers to help, but how come a message won't appear when i say 1 |
|
|
| Report Abuse |
|
|
| 14 Dec 2013 12:45 PM |
Still doesn't mean it belongs here.
As for you problem, it's hard to say... I don't see 'message' defined anywhere. |
|
|
| Report Abuse |
|
|
| 14 Dec 2013 01:14 PM |
Set2 = {"cleanly", "cleanly", "cleanly", "not cleanly", "cleanly"} if(message == "1") then msg.Text = "" ..X.. " " ..Y.. " " ..Z.. "!" wait (5)
All these lines are... just wat.
#1 - you have 4 strings with the same text. #2 - message is undefined. Bad use of brackets. #3 - "" .. is completely unnecessary. #4 - You've waited the message duration. Now, let's wait a bit longer, eh? |
|
|
| Report Abuse |
|