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

(Solved)How can I know what I need to deactivate the particles when it touches the ground?

Asked by
brok4d 77
6 years ago
Edited 6 years ago

Hello, well that I want the particles of fire to be deactivated when it touches the ground, I have tried many ways, but without result, how could I do it? I'm very stuck Thank you

01local UserInputService = game:GetService("UserInputService")
02local ground = game.Workspace.ground
03local car = game.Workspace.car
04local sound = Instance.new("Sound", script.Parent)
05sound.Name = "engine"
06sound.SoundId = "rbxassetid://532147820"
07local wheel1 = game.Workspace.car["FrontR"]
08local wheel2 = game.Workspace.car["FrontL"]
09local mult = 1.30
10local maxpitch = 3.00
11local idlespeed = 1
12local debounce = false
13local fire = game.Workspace.car.fire.Fire
14fire.Enabled = false
15 
View all 73 lines...
0
Does the car hit the same place on the ground every time? Or is the ground a part/model by chance? ABK2017 406 — 6y
0
The car the PrimaryPart is a VehicleSeat and the floor is Part that comes by default only if you change the name. and only the car collides once. brok4d 77 — 6y

Answer this question