BenMck
|
  |
| Joined: 31 Jul 2012 |
| Total Posts: 3652 |
|
|
| 14 Apr 2014 03:17 PM |
if script.Parent.Value == 100 and script.Parent.Parent.HoldingBase.Value == "Raiders" then win = Instance.new("Message", workspace) code = math.random(1000000,9000000) win.Text = "The Raiders have won this Server!" wait(10) win.Text = "Terminal_://] Destruction Code: "..code wait(10) plrs = game.Players:GetPlayers() for i = 1, #plrs do plrs[i]:Destroy() end end
if script.Parent.Value == 100 and script.Parent.Parent.HoldingBase.Value == "Raiders" then win = Instance.new("Message", workspace) code = math.random(1234567,910111213141516) win.Text = "Stomp Legion has activated the Terminal Reboot Program!" wait(10) win.Text = "Terminal_://] Reboot Program Activating..." wait(5) win.Text = "Terminal Reboot Code: "..code wait(10) plrs = game.Players:GetPlayers() for i = 1, #plrs do plrs[i]:Destroy() end end
When the Value is 100 & the "HoldingBase" is either 'Raiders' or 'Stomp Legion' The message isn't produced |
|
|
| Report Abuse |
|
|
| 14 Apr 2014 03:19 PM |
win.Text = "Terminal_://] Destruction Code: "..tostring(code)
win.Text = "Terminal Reboot Code: "..tostring(code)
#nerdsunited |
|
|
| Report Abuse |
|
|
| 14 Apr 2014 04:03 PM |
Attempt to concentrate a string and number value error I'm guessing?
Either add spaces, or use tostring()
Alt. of Jetta765214 |
|
|
| Report Abuse |
|