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

How can i prevent team killing?

Asked by 7 years ago

Quite self-explanatory. How can i prevent team killing with a script just simply put into the workspace? I read the Prevent team killing article on ROBLOX Wiki, but it only gave me the information on how to make certain weapons Anti Team Kill weapons. Thanks! :)

1
That's the point. You can't just make it so teams can't kill each other. You need to incorporate it into the weapons. OldPalHappy 1477 — 7y
1
Exactly ^^^^ Weapon scripts do the damage. H4X0MSYT 536 — 7y

1 answer

Log in to vote
2
Answered by 7 years ago

When you make your own guns(assuming you know how) just make the bullets check whether the touched(player?) is on your team or not.

Ad

Answer this question