|
| 08 Mar 2014 05:20 PM |
This is a simple script but I don't know whats wrong with it wait(60) Workspace.new.Message = "server has 30 mins worth of resources left" wait(5) remove(Message) wait(600) Workspace.new.Message = "sever has 20 mins worth of resources left" wait(5) remove(Message) wait(600) Workspace.new.Message = "server has 10 mins worth of resources left" wait(5) remove(Message) wait(300) Workspace.new.Message = "server has 5 mins worth of resources left. If you are not close to finshing this stage join a new server and try again" wait(5) remove(Message) wait(300) Workspace.new.Message = "server has run out of resources please join another"
Anything would be help full |
|
|
| Report Abuse |
|
|
| |
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 08 Mar 2014 05:58 PM |
"Workspace.new.Message"
"remove(Message)"
What. |
|
|
| Report Abuse |
|
|
|
| 08 Mar 2014 06:00 PM |
Message = Instance.new("Message", Workspace) Message.Name = Message wait(60) Message.Text = "Server has 30 mins worth of resources left" wait(5) Message.Text = "" --Continue with my example... |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2014 10:37 AM |
why are you setting 2 variables to one word? you make Message= Instance.new("Message",Workspace) but then you put Message.Name = Message? Can you explain that? |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2014 10:48 AM |
| Sorry I meant Message.Name = "Message" |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2014 10:53 AM |
| k and to remove? each message before new one is displayed? |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2014 10:55 AM |
Message:remove()--remove() is depreceated tho,so use: Message:destroy() |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2014 11:03 AM |
| Message.Text = "" --Will remove it |
|
|
| Report Abuse |
|
|