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

What's friendly fire? What's friendly fire?

Sorry for repeating the question 2 times, this website said it wasn't a question. I guy asked me how can he fix friendly fire. But I don't know what friendly fire is, so what's friendly fire?

1 answer

✓ Accepted answer

Friendly fire is when you can damage someone on the same team to turn it off you usually need to do something like

local Player = game:GetService("Players")
local Team = game:GetService("Teams")

local Player1 = (define)
local Player2 = (Define)

if Player1.Team == Player2.Team then return end

(Damage script here)

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