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 » Scripters
Home Search
 

Re: Kill player when they join script.

Previous Thread :: Next Thread 
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:50 PM
Hello! I am having some issues with a script to kill people when they join. I was curios if someone could help me by making a script for it. Thanks in advanced!
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:51 PM
Also, if anyone can, try to make it where the respawn instantly
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
17 Sep 2015 09:52 PM
>kill
>respawn instantly

what
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:53 PM
@Der Like once they die, they respawn instantly instead of having to wait like 5 seconds to respawn.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
17 Sep 2015 09:53 PM
He's trying to get free KOs probably...
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
17 Sep 2015 09:54 PM
What's the point then?
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
17 Sep 2015 09:54 PM
@cntkillme
Roblox doesn't track KOs or WOs anymore, nor do they display it on the website.
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:54 PM
No, I am making a game and for a script to work they have to reset.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
17 Sep 2015 09:55 PM
what

that's like

fix the script instead
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:56 PM
@Der The script wont allow this, It is in the StarterGUI (And yes that is where it belongs)
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
17 Sep 2015 09:57 PM
The script disallows you to fix it? Sounds like a naughty script!
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:58 PM
Ugh, I mean there is no way to fix it the way it is written.
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
17 Sep 2015 09:58 PM
Then write it another way.
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 09:59 PM
It works the way it is now, it just requires you to reset before it works
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
17 Sep 2015 10:01 PM
that's not working
Report Abuse
INOOBE is not online. INOOBE
Joined: 02 Dec 2012
Total Posts: 477
17 Sep 2015 10:01 PM
How bout you re-code it to work without having to reset?
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 10:02 PM
I don't wanna recode it. It took long enough to get it to work.
Here, go on the game and reset. http://www.roblox.com/games/297890292/The-Walking-Dead-Season-1
Report Abuse
INOOBE is not online. INOOBE
Joined: 02 Dec 2012
Total Posts: 477
17 Sep 2015 10:05 PM
Read the output lol
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 10:07 PM
I have, there is no error.
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 10:08 PM
I came up with this but it kills them more then once.

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character.Humanoid.Health = 0
end)
end)
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
17 Sep 2015 10:09 PM
"I don't want to re code my trashy code" if you don't want to revise your code then somehow make it perfect the first time or quit scripting.
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 10:10 PM
If it is one thing I have learned, it is that people on the scripting forum are useless.
Report Abuse
DermonDarble is not online. DermonDarble
Joined: 04 Jun 2015
Total Posts: 2576
17 Sep 2015 10:11 PM
Not as useless as your code
Report Abuse
bojigglesmister2 is not online. bojigglesmister2
Joined: 26 Jun 2011
Total Posts: 1421
17 Sep 2015 10:12 PM
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
local hum = character:WaitForChild("Humanoid")
hum.Died:connect(function()
player:LoadCharacter()
end)
end)
end)


script in serverscript service


:LoadCharacter just reloads a character
Report Abuse
chandler010 is not online. chandler010
Joined: 22 May 2011
Total Posts: 336
17 Sep 2015 10:13 PM
You have not seen my code, it works fine. You just have to reset!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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