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

How to make kill brick that kill others team?

Asked by 4 years ago
Edited 4 years ago

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)
0
You’ll never find what you desire if you ask for it whole. Your work needs to be of your effort, so try to look up the necessities required to make this work piece by piece, and try to plug it all together. Ziffixture 6913 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

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.

Ad
Log in to vote
0
Answered by 4 years ago

Answer this question