|
| 09 Aug 2012 03:54 PM |
I keep asking but no one answers! anyway, this is for my game but it wont work. Here is the script. Please, rewrite the script and post that. I can understand when people say, "you did not describe the varible of m x 4c!"
while true do local player = game.Players:GetPlayers() for i = 1, #player do hnt = Instance.new("Hint") hnt.Parent = nil wait(5) hnt.Parent = game.Workspace hnt.Text = "Choosing map..." wait(5) hnt.Text = "Choosing map." wait(1) hnt.Text = "Choosing map.." wait(1) hnt.Text = "Map chosen." wait(1) hnt.Text = "Kill everyone you see, or team up with freinds." wait(1) hnt.Text = "The round will last for 3 min." wait(1) hnt.Text = "Setting game files..." wait(1) hnt.Text = "Loading gun attributes..." wait(1) hnt.Text = "3" wait(1) hnt.Text = "2" wait(1) hnt.Text = "1" wait(1) msg:remove() script.Parent.Sound:Play () wait(1) script.Parent.Sound:Pause() game.Lighting.minigame1:clone().Parent = game.Workspace wait(180) hnt = Instance.new("Hint") hnt.Parent = nil wait(5) hnt.Parent = game.Workspace hnt.Text = "Game Over" wait(5) hnt.Text = "Restarting game." wait(3) msg:remove() wait(1) game.Workspace.minigame1:Remove() wait(1) end end
|
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:00 PM |
| msg is not defined. This is also a very poor script for what you are doing. |
|
|
| Report Abuse |
|
|
X2F9LRT
|
  |
| Joined: 18 Jan 2012 |
| Total Posts: 293 |
|
|
| 09 Aug 2012 04:01 PM |
| This script here is the reason that I cry myself to sleep at night. |
|
|
| Report Abuse |
|
|
jelly134
|
  |
| Joined: 25 Aug 2008 |
| Total Posts: 1137 |
|
|
| 09 Aug 2012 04:02 PM |
while true do hnt = Instance.new("Hint") wait(5) hnt.Parent = game.Workspace hnt.Text = "Choosing map..." wait(5) hnt.Text = "Choosing map." wait(1) hnt.Text = "Choosing map.." wait(1) hnt.Text = "Map chosen." wait(1) hnt.Text = "Kill everyone you see, or team up with freinds." wait(1) hnt.Text = "The round will last for 3 min." wait(1) hnt.Text = "Setting game files..." wait(1) hnt.Text = "Loading gun attributes..." wait(1) hnt.Text = "3" wait(1) hnt.Text = "2" wait(1) hnt.Text = "1" wait(1) hnt:remove() script.Parent.Sound:Play () wait(1) script.Parent.Sound:Pause() game.Lighting.minigame1:clone().Parent = game.Workspace wait(180) hnt = Instance.new("Hint") wait(5) hnt.Parent = game.Workspace hnt.Text = "Game Over" wait(5) hnt.Text = "Restarting game." wait(3) hnt:remove() wait(1) game.Workspace.minigame1:Remove() wait(1) end |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:03 PM |
| SOOOOOO MANY WAITS!!!! QQ If I rewrote this... |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:04 PM |
| @Jelly, nice catch, I didn't realize he made a message in Workspace for every player. If he _ever_ got someone to play it, they would be very frustrated. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Aug 2012 04:04 PM |
This is probably why, and also turn on the output, it'd help alot easier.
script.Parent.Sound:Play () ^ That part, near by the Parenthisis, there is a space. There shouldn't be any spaces. So it shoud look like this,
script.Parent.Sound:Play() |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Aug 2012 04:05 PM |
| Lol yeah, a spam of hints everywhere. xD |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:09 PM |
| Prob. When it gets to sound it stops working |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:10 PM |
| And the sound will not work. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Aug 2012 04:11 PM |
| That's what just I exactly said. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:12 PM |
| I did what you did, it dident work. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 09 Aug 2012 04:14 PM |
| Probably cause you've made it repeat too much, the part where it says 'for i = 1, #players do' you've put the whole thing there including the hint, which will cause lag and spam, and sound being played and repeated all over again because of the amount of people and also, if you play this in a Server, it won't show to everyone but you, untill it's over, it will show to the next player. |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2012 04:18 PM |
Can you just re-make the script? i am not really a scripter, in other words i just started...
|
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
| |
|