I’m trying to recreate an effect from the Delorean from Back to the Future, where if the car hits 88 mph, lightning comes out of the rods on the exterior. I’m pretty new at scripting, so I don’t know how to create the script to enable the particles.
Can’t you create a trail,
And in the script, enable it?
1 Like
Yes. I don’t know how to code the script that enables the particles at a certain amount of speed.
local trail = -- Path to your trail
trail.enabled = true
Make sure to turn off Enabled
in your trail in Studio
As for detecting when the car reaches a certain speed, I think you can use
local carMainPart -- The main part of your car
local speed = carMainPart.Velocity.Magnitude
2 Likes