I'm trying to make a police team in my driving game and I'm trying to get the ability to pop the tires of other vehicles. Unfortunately it also pops other police cars so how do I make it so my script doesn't pop certain cars?
COMMUNITY QUESTION
How do I make a tire popping script not pop certain vehicles?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Show us the script.
function Tire(C) if C.Name == "FL" or "FR" or "RL" or "RR" then if C.CanCollide == true then C.CanCollide = false script.Parent.Tire:Play() end end end script.Parent.Touched:connect(Tire)