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

How To Make A Script That Bandits Will Not Attack Other Bandits ? [closed]

Asked by
realbac24 -10
7 years ago

How to make bandits can't do damage to other bandits script? when you copy like 2 bandits and when you play the bandits will attack each other how to prevent that from happining ? Please send me a script. thanks

0
try naming the bandit humanoids something else halwa 11 — 7y
0
Check the parent of the humanoid first and if it is a bandit don't attack Sekant 20 — 7y
0
No Working Still doing damage to each other and some explain to me in more detailes please? realbac24 -10 — 7y

Closed as Not Constructive by User#5423 and TheHospitalDev

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?

1 answer

Log in to vote
0
Answered by 7 years ago

This is because of the Humanoid inside of the Bandits. The bandits you are using are constantly searching for Humanoids nearby to attack as most of the time they think it is possibly a player.

I would imagine you would need to remove the Humanoids from them and program Health yourself, or you might need to program them to attack anything under the "Players" file.

I can't say for sure, but try these.

Ad