generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Terminal_://] Win code; Not working

Previous Thread :: Next Thread 
BenMck is not online. 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
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
14 Apr 2014 03:19 PM
win.Text = "Terminal_://] Destruction Code: "..tostring(code)


win.Text = "Terminal Reboot Code: "..tostring(code)



#nerdsunited
Report Abuse
Jetta765214 is not online. Jetta765214
Joined: 22 Oct 2008
Total Posts: 1855
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image