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?

2 comments

0

Show us the script.

0

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)