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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 06:54 AM
[ Content Deleted ]
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:02 AM
[ Content Deleted ]
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:06 AM
while true do
wait(.1)
if game.Players.NumPlayers < 1 then
_G.GameEnd = true
end

I'll also need to see the hide n' seek script.
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:09 AM
[ Content Deleted ]
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:10 AM
Ending the game when there is only one player.
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:10 AM
[ Content Deleted ]
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:11 AM
Actually, the script I made has to be a seperate script.
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:11 AM
[ Content Deleted ]
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:11 AM
[ Content Deleted ]
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:13 AM
I cant do the it one, because thats too complicated for me to do out of game, and I also cant do the maps because of that reason too.
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:14 AM
[ Content Deleted ]
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:15 AM
It would if I could see it to edit it. :P
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:18 AM
[ Content Deleted ]
Report Abuse
Nineza is not online. Nineza
Joined: 22 Nov 2009
Total Posts: 2153
03 Jan 2010 07:18 AM
@Shado, he doesn't mean if people leave, he means if IT, as in the person who is seeking, leaves the game or dies.

1. How have you stored who is it? In a variable, a local, a value, or what? (I'm not sure if you COULD store it in all these, just throwing out ideas, and I AM new to scripting. xD)

2. You need to make it something like:

if game.Players[IT] == nil then

You make it say game has ended.

for example:

if game.Players[IT] == nil then
text("Game has ended",5,"Message",game.Workspace)

and after, you need to add in for it to teleport everyone to the waiting area, then you tell it to continue with the script (send it to function newGame or something. xD)

so it would be:

if game.Players[IT] == nil then
text("Game has ended",5,"Message",game.Workspace)
game.Workspace.HidenSeekArea1:Remove()
newGame()
end

That won't be EXACTLY correct, but I hope it will help you to do this.
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:18 AM
Yeah I'll be on. Just PM me when you get it on here.
Report Abuse
Nineza is not online. Nineza
Joined: 22 Nov 2009
Total Posts: 2153
03 Jan 2010 07:18 AM
:O Late post. I thought I'd be 4th to post. xD
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:19 AM
Late post. :T

@ Nin: Ohhhh. Well that should still be in there.
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:20 AM
[ Content Deleted ]
Report Abuse
Nineza is not online. Nineza
Joined: 22 Nov 2009
Total Posts: 2153
03 Jan 2010 07:20 AM
What do you mean it should still be in there? Do you mean it'll help solve the problem? :D
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:20 AM
[ Content Deleted ]
Report Abuse
Nineza is not online. Nineza
Joined: 22 Nov 2009
Total Posts: 2153
03 Jan 2010 07:21 AM
And for the map script, you could make it generate a random number from 1 - [whatever number of maps you have] so, for example a random number from 1 - 7 and if it's 3, it's winter wonderland etc. ;)
Report Abuse
shadostriker is not online. shadostriker
Joined: 07 Aug 2008
Total Posts: 7860
03 Jan 2010 07:21 AM
Yeah. You would have to link it to the main one. I'll do that for you.
Report Abuse
Nineza is not online. Nineza
Joined: 22 Nov 2009
Total Posts: 2153
03 Jan 2010 07:22 AM
So can I still help? xD

Wooot, over 100 posts now. My first milestone. :D
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:23 AM
[ Content Deleted ]
Report Abuse
beastly5123 is not online. beastly5123
Joined: 31 Dec 2008
Total Posts: 1865
03 Jan 2010 07:23 AM
[ Content Deleted ]
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