2DWorlds Forums
10/17/10 - Killing Players - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: News (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=8)
+--- Thread: 10/17/10 - Killing Players (/showthread.php?tid=1085)

Pages: 1 2


10/17/10 - Killing Players - Jacob__mybb_import1 - 10-17-2010

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.


RE: 10/17/10 - Killing Players - jman - 05-14-2012

awsome


RE: 10/17/10 - Killing Players - Qwertygiy - 05-14-2012

This thread is 18 months old... It's one of the first on Buildism...


RE: 10/17/10 - Killing Players - Walrus - 05-14-2012

(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


RE: 10/17/10 - Killing Players - Jacob__mybb_import1 - 05-14-2012

Reviving a thread about killing people? There's a joke about necromancing here somewhere...


RE: 10/17/10 - Killing Players - Glome - 05-14-2012

(05-14-2012, 11:51 PM)Jacob_ Wrote: Reviving a thread about killing people? There's a joke about necromancing here somewhere...

ohyus ;o


RE: 10/17/10 - Killing Players - Latinxassassin - 05-15-2012

(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


RE: 10/17/10 - Killing Players - Qwertygiy - 05-15-2012

(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


RE: 10/17/10 - Killing Players - Latinxassassin - 05-15-2012

(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


RE: 10/17/10 - Killing Players - Hippo - 05-15-2012

(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