Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Kick on death?

Asked by 10 years ago

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

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? MrLonely1221 701 — 10y
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. Redbullusa 1580 — 10y

1 answer

Log in to vote
0
Answered by
Redbullusa 1580 Moderation Voter
10 years ago

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!!

Ad

Answer this question