Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Kick on death?

How can I make my game kick someone when their health hits 0?

2 comments

0

I know how to do this. It's just when I tried my script didn't work. Should I use a server script or local script?

0

Oh, you should have posted a snippet of your code along with your question, so that we all aren't under the impression that you're requesting a script.

1 answer

Main Sources:

Kick Player Source

Humanoid Died Source

Optional Sources:

Player Added Source

Character Added Source


These links are good sources that you can refer to when scripting. They aren't really that hard to find, so a little bit more time spent upon research and you should be able to get these information.

Most of these sources hinted that you should use a server-sided script for these elements to work as expected on servers.

Post your question along with your code next time, too!!

This discussion is preserved as it was. New answers, comments, and votes are closed.