When a car hits another car the parts get broken off then i want the car to explode how can i do that?
uh i dont know how'd you make an explosion but here's a script on how to detect a car crash:
Name the parts of the car you are going to crash into.
Also at least try to try to make something before coming to scriptinghelpers, we are helpers not givers.
Also place this script in every peice of a car
local parent = script.Parent local carpart = "nameofthepartsthecariscrashinginto" parent.Touched:Connect(Function(checktouched) if checktouched.Name == carpart then parent.Anchored = false parent:BreakJoints() end end)
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?