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

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

Asked by 3 years ago
Edited 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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)
Ad

Answer this question