Im Try To Search but its Failed Can Someone Answer My Question?
script.Parent.Touched:Connect(function(hit) local user = game.Players:GetPlayerFromCharacter(hit.Parent) user.Team = game:GetService('Teams'):FindFirstChild('Team') user.Character.Humanoid.Health = 0 end)
You would need to check a players team and if its not the right team kill them. As this site it supposed to be to help you fix scripts take a shot at it and if you can't figure out whats wrong with it post the script and we will be able to help you fix it.