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

How do I make a script where people cant harm eachother? [closed]

Asked by 10 years ago

What I mean by this is, If players are on a certain part, they cannot kill another player until they are on the regular spot. any help?

0
This is not a request site. Shawnyg 4330 — 10y

Closed as Not Constructive by Shawnyg, Ekkoh, and BlueTaslem

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
0
Answered by 10 years ago

You need to use the Touched and TouchEnded events. To set a player's life to infinite, use the following number (I think): 999e+0500

Ad
Log in to vote
0
Answered by 10 years ago

Or, just remove the scripts from weapons and leave a handle only.