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: SUICIDE SCRIPT

Previous Thread :: Next Thread 
JohnyTestXD5 is not online. JohnyTestXD5
Joined: 22 Nov 2012
Total Posts: 14
29 May 2013 07:05 PM
Commit Suicide On Your ROBLOX Character!

This is a suicide script to put in the command bar if your in build mode.
game.Workspace.YourNameHere.Head:remove or else,
game.Workspace.YourNameHere.Torso:remove

This is a suicide script to put in the command bar if your in test mode.
game.Workspace.Player1.Head:remove or else,
game.Workspace.Player1.Torso:remove (DON'T CHANGE PLAYER1 TO YOUR NAME IF YOUR IN TEST MODE!)

Hope this helped!
Report Abuse
EuIer is not online. EuIer
Joined: 20 Sep 2012
Total Posts: 31
29 May 2013 07:07 PM
No, it didn't. By the way, your syntax is wrong.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
29 May 2013 07:09 PM
game.Workspace.Player:BreakJoints()

...?
Report Abuse
SamHuckaby is not online. SamHuckaby
Joined: 04 Dec 2012
Total Posts: 59
29 May 2013 07:14 PM
It's :remove(), not :remove

Also, :Remove() is deprecated. It's suggested that you use :Destroy()

For things like this, however.. I would suggest using player:BreakJoints()
Report Abuse
JohnyTestXD5 is not online. JohnyTestXD5
Joined: 22 Nov 2012
Total Posts: 14
31 May 2013 06:52 PM
Sam, I am so sorry! I totally forgot about the method. My forgiveness.
Report Abuse
ilikehandy123 is not online. ilikehandy123
Joined: 19 Sep 2012
Total Posts: 67
31 May 2013 07:36 PM
These are the two things that I will do while killing the player:
game.Players.{playername}.Character:BreakJoints()
Someone said that above, there is also another way to do it:
game.Players.{playername}.Character.Humanoid.Health = 0

{playername} = Players name that touched, clicked, etc.
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