RomDino
|
  |
| Joined: 04 Jul 2015 |
| Total Posts: 2795 |
|
|
| 20 Aug 2016 09:31 PM |
Have you ever played "Noob Invasion"? There is a script that auto play the dialogs every 2 seconds You don't have to click it to activate It would be noice if anyone can help me find or write that script down |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2016 09:59 PM |
function text() local m = Instance.new("Message") m.Text = "texthere" wait(5) m.Text:Destroy() end
text()
Something like that |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2016 10:05 PM |
Forgot something
Use this :
function text() local m = Instance.new("Message") m.Parent = game.Workspace m.Name = "Message" m.Text = "texthere" wait(5) end
text() |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2016 10:09 PM |
And if you want it to autoplay your message every 2 seconds, then use this :
function text() local m = Instance.new("Message") m.Parent = game.Workspace m.Name = "Message" m.Text = "texthere" wait(2) m:Destroy() end
while true do text() wait(5) -- Text Cooldown end |
|
|
| Report Abuse |
|
|
Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 20 Aug 2016 10:14 PM |
| You shouldn't be using the Message class, it's deprecated. Use a GUI. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2016 10:15 PM |
| If you want to give him free code to play a GUI be my guest but I was just writing quick code |
|
|
| Report Abuse |
|
|
Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 20 Aug 2016 10:16 PM |
| I don't give free code, but that's not an excuse to give him code that shouldn't be being used. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2016 10:17 PM |
| Guess it is one since I just used it =/ |
|
|
| Report Abuse |
|
|
RomDino
|
  |
| Joined: 04 Jul 2015 |
| Total Posts: 2795 |
|
|
| 20 Aug 2016 10:34 PM |
I am needing a script to auto play the dialogs and loop Not messages or gui |
|
|
| Report Abuse |
|
|
Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 20 Aug 2016 10:37 PM |
| Using the Dialog object I'm assuming? |
|
|
| Report Abuse |
|
|
RomDino
|
  |
| Joined: 04 Jul 2015 |
| Total Posts: 2795 |
|
|
| 20 Aug 2016 10:41 PM |
Yes! The dialog object But i need a script to auto play it and then it goes to the second dialog You don't need to activate it with a mouse |
|
|
| Report Abuse |
|
|
Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 21 Aug 2016 12:00 AM |
Actually you won't be using the dialog object, I went on the game to see what it was.
It's using the Chat service
http://wiki.roblox.com/index.php?title=API:Class/Chat |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 12:05 AM |
| lmao deprecated ~= never use ever!!!!!1111 |
|
|
| Report Abuse |
|
|
RomDino
|
  |
| Joined: 04 Jul 2015 |
| Total Posts: 2795 |
|
|
| 21 Aug 2016 12:06 AM |
| Can you just write the script for the NPC to say down? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 12:17 AM |
@Client_Replicated
fr...
There are games that still use this "Deprecated" instance |
|
|
| Report Abuse |
|
|
Badandy11
|
  |
| Joined: 02 Jul 2009 |
| Total Posts: 1861 |
|
|
| 21 Aug 2016 12:38 AM |
| Older games may still have them but newer games shouldn't use deprecated objects. It can be removed at any time just like the old Terrain. The old terrain is being removed January 2017 |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 05:13 AM |
deprecated objects are not removed without warning and can be very useful for prototyping, say i wanted to make a mini games system and instead of wasting time making a gui based system I can temporarily use the message object instead
|
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 10:13 AM |
Not even just OLDER games use them, games currently made by scripters on this FORUM use them. Doge simulator by Blarg for example, and it has 72k+ visits.
Although the role of the class is not significant as it is a regen statement, that's not relevant because it is still being used. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 10:14 AM |
ay
ya the game was made realllllly old
i dont change it much cuz it works :) |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 10:15 AM |
| But tell me, would you feel like making a GUI that tells you everything is regening if you had to instead of using a convenient class that made it much easier for you..? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2016 10:16 AM |
| ^ well since the message is controlled via server and removed with a server wait() it will wait until people respawn the map to remove itself because the action will be delayed until the map is loaded by them |
|
|
| Report Abuse |
|
|