|
| 21 Aug 2011 05:05 PM |
I tried to do this script but 4 sum reson it dident work! game.Players.Djdj7748412.Head:Remove() and it dident kill me!!! |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2011 05:08 PM |
The instance that's inside game.Players is your Player object, and it contains data about your player such as the AccountAge and the MembershipType, as well as a lot of things that you need in your Player. The thing that contains all the Parts that make up your character is, well, your character, which is in game.Workspace.
So you want to be removing the Head from game.Workspace.Djdj77whatever instead of the one in game.Players.
-Like a boss. |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 21 Aug 2011 05:20 PM |
@crazypotato4
Or he could access his character through the Character property in his player object.
game.Players.Djdj[numbers here].Character.Head:Remove()
But yes, your way is generally the most used and the better of the two. |
|
|
| Report Abuse |
|
|
mj21mm
|
  |
| Joined: 21 Jul 2009 |
| Total Posts: 194 |
|
|
| 21 Aug 2011 05:40 PM |
its Game.Workspace.Players
forgot the workspace part. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 21 Aug 2011 06:11 PM |
@Creator thread
First, I want to say nice try!I started removing my head.But you don't use game.Players I do game.Workspace
This is how you would remove your head
game.Workspace.miz656.Head:Remove()
You can also do game.Workspace.miz656:BreakJoints()
game.Workspace.miz656.Torso:Remove()
game.Workspace.miz656.Humanoid.Health = 0
Theres a couple of ways to do it :P |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
|
| 22 Aug 2011 10:26 AM |
@mj22
No, it's not game.Workspace.Players... |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:32 AM |
| In less you put a model in workspace that is name Players and the when a character is added automatically put that character in the model. |
|
|
| Report Abuse |
|
|
moochoo8
|
  |
| Joined: 05 May 2008 |
| Total Posts: 92 |
|
|
| 22 Aug 2011 10:42 AM |
| game.Players.NAME.Character.Head:Remove() |
|
|
| Report Abuse |
|
|
jewelycat
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 22 Aug 2011 10:50 AM |
| Your player doesn't have a head, your character does. game.Workspace.NAME.Head:remove() |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 11:12 AM |
| @jewel, No, moochoo is correct. :) |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 22 Aug 2011 03:26 PM |
@jewel
You would say that script if your defining Workspace not Players. |
|
|
| Report Abuse |
|
|
Nexun
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 371 |
|
| |
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 22 Aug 2011 04:14 PM |
| I love how every thread named 'Kill Script' is bleedin' popluar...HAVE U NO SHAME? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
goodkey
|
  |
| Joined: 08 Apr 2011 |
| Total Posts: 7 |
|
|
| 23 Dec 2013 02:12 AM |
If you want to directly kill once person once! this is the script broken down game.Workspace.Player1.Humanoid.Health = 0
Broken down game.Workspace >Locates where the person is Player1 >whoever the person is put there name there and delete Player1 Humanoid> Tells the script where the health is Health> you don't want to destroy there the script would break. = 0 > tells the script how much health to give them Remember this only works once unless you make it
while true do game.Workspace.Player1.Humanoid.Health = 0 end any more questions message me. |
|
|
| Report Abuse |
|
|
|
| 23 Dec 2013 03:05 AM |
| change :Remove() to :Destroy() |
|
|
| Report Abuse |
|
|
russia365
|
  |
| Joined: 19 Nov 2012 |
| Total Posts: 49 |
|
|
| 04 Apr 2014 07:43 PM |
| game.Workspace.russia365.Humanoid.Health = 0 |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2014 07:48 PM |
game.Players.Djdj7748412.Character:BreakJoints()
or in a loop :
while true do game.Players.Djdj7748412.Character:BreakJoints() end |
|
|
| Report Abuse |
|
|
andy2855
|
  |
| Joined: 16 Feb 2014 |
| Total Posts: 15 |
|
|
| 16 Jun 2014 04:49 PM |
Just do...
Game.Workspace.Players.Humanoid.Health = 0 --To kill all in players pack.
Workspace.>name<.Humanoid.Health = 0 --To kill yourself in command prompt.
function repeat() while true do Game.Workspace.Players.Parent.Humanoid.Health = 0 --To loopkill everyone in the place end for good it can never be stopped unless script is disabled. [Caution]: Do NOT use!
Game.Players.Parent.Head:destroy()--To destroy everyone in the server once if script Is enabled...
And i know way more then that but its just too lazy theres lots of ways to kill someone and i just gave you some uniqe more known ones. Well... have fun committing suicide! :) |
|
|
| Report Abuse |
|
|
andy2855
|
  |
| Joined: 16 Feb 2014 |
| Total Posts: 15 |
|
|
| 16 Jun 2014 04:53 PM |
| O' yeah and about the loop kill above i forgot one thing next to end put until |
|
|
| Report Abuse |
|
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
|
| 16 Jun 2014 05:00 PM |
| game.Workspace.Player1.Head:remove() --Test mode |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2014 05:01 PM |
does nobody realise this thread is from 2011.
|
|
|
| Report Abuse |
|
|
Tynexx
|
  |
| Joined: 11 Jul 2012 |
| Total Posts: 1559 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|