Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
10/17/10 - Killing Players
#1
You can now use the kill() member function of a character to kill it, like so:

Code:
game.Players.Jacob_.Character:kill()

For example, put this script inside a part to kill anyone that touches it:
Code:
link(script.Parent.Collided, function(h)
    if h.Parent:isA("Character") then
        h.Parent:kill()
    end
end)

Any tools the player has that aren't in the StarterInventory will be removed.

If you want something to happen when a player dies, use their Died event.
#2
awsome
#3
This thread is 18 months old... It's one of the first on Buildism...
#4
(05-14-2012, 10:53 PM)Qwertygiy Wrote: This thread is 18 months old... It's one of the first on Buildism...

Whats the point of bumping this thread?
TROLL'D
#5
Reviving a thread about killing people? There's a joke about necromancing here somewhere...
#6
(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o
[Image: AmZJnA9.png]
#7
(05-14-2012, 11:56 PM)Glome Wrote:
(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o

ohnoes ;o
[Image: card.png]
#8
(05-15-2012, 12:31 AM)Latinxassassin Wrote:
(05-14-2012, 11:56 PM)Glome Wrote:
(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o

ohnoes ;o

ohWHYDOYOUNEVERGETANYJOKES ;o
#9
(05-15-2012, 12:32 AM)Qwertygiy Wrote:
(05-15-2012, 12:31 AM)Latinxassassin Wrote:
(05-14-2012, 11:56 PM)Glome Wrote:
(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o

ohnoes ;o

ohWHYDOYOUNEVERGETANYJOKES ;o

ohBECAUSETHEYARESOCORNY ;o
[Image: card.png]
#10
(05-15-2012, 12:35 AM)Latinxassassin Wrote:
(05-15-2012, 12:32 AM)Qwertygiy Wrote:
(05-15-2012, 12:31 AM)Latinxassassin Wrote:
(05-14-2012, 11:56 PM)Glome Wrote:
(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o

ohnoes ;o

ohWHYDOYOUNEVERGETANYJOKES ;o

ohBECAUSETHEYARESOCORNY ;o

ohTHATMAKESPEOPLEMORELIKELYTOGETTHEM ;o
[Image: paperboy.PNG]
True beauty.


Forum Jump:


Users browsing this thread: 9 Guest(s)