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: how come this doesnt work?

Previous Thread :: Next Thread 
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
25 Apr 2014 11:56 PM
players = 20
if game.Player.Humanoid.Health = 0
players - 1
if players = 0 instanse.new"message"
game.Message.Text = everyone died round over!
wait(10)
game.Message:remove
game.main.Disabled true
wait(120)
game.main.Disabled false
end
end


basicly what it does is checks all the players and each time player dies it removes 1 from players and when all the players are dead it displays a message for 10 pings then disables it and reactivates it to loop it.
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
25 Apr 2014 11:57 PM
b1
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
25 Apr 2014 11:58 PM
b2
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:00 AM
anyone?
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
26 Apr 2014 12:01 AM
Please dont bump every minute.
What are you trying to achieve here?

~I'm an Angry Llama~
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:02 AM
its like a survival script what it does is is checks how many players died then if 20 players die well until 20 players die it displays a message and then loops but I may of not looped it right
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
26 Apr 2014 12:05 AM
.-.
wowok

When they spawn into a maybe, clone a script into their character
First, you will need to add a loop, to keep going until 1 player is left.
Then you will need a for loop to iterate through all players, and check if they have that alive script
then check if there is 1 or 0 left.

~I'm an Angry Llama~
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:07 AM
what?
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
26 Apr 2014 12:08 AM
tl;dr?

Learn to script.

~I'm an Angry Llama~
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:09 AM
well obviously I do have some know how
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
26 Apr 2014 12:10 AM
obviously you do not know Roblox Lua and how each operator works, what methods are used, and how to spell instance

i'm asian
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:27 AM
boohoo I spelled something wrong
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
26 Apr 2014 12:31 AM
boo hoo indeed because
1.) It is vital to this language
2.) It is a very simple word
3.) You were changing the properties of the object before parenting it

i'm asian
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:32 AM
ok so humans don't make mistakes
Report Abuse
JigglingJack is not online. JigglingJack
Joined: 25 Mar 2014
Total Posts: 11263
26 Apr 2014 12:37 AM
You made way too many mistakes, I think you should try learning Roblox Lua basics

i'm asian
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:38 AM
im pretty sure I know the basics
functions prints waits variables
Report Abuse
KiwiTronik is not online. KiwiTronik
Joined: 18 Feb 2010
Total Posts: 3221
26 Apr 2014 12:43 AM
Great, now learn more.

~I'm an Angry Llama~
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
26 Apr 2014 12:45 AM
that's what I am doing that's why im asking for help here
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
26 Apr 2014 12:50 AM
players = 20
if game.Player.Humanoid.Health = 0 -- Error(#1)
players - 1 -- Error(#2)
if players = 0 instanse.new"message" -- Error(#3, #4, and #5 )
game.Message.Text = everyone died round over! -- Error(#6)
wait(10)
game.Message:remove -- Error(#7)
game.main.Disabled true -- Error(#8)
wait(120)
game.main.Disabled false -- Error(#9)
end
end
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