I've been working on a project to help me learn and understand more of scripting but as I was developing the game I've reached a problem in my kart script. I'm trying to make my kart smoke go to opacity 1 whenever the car steering turns into 1 or -1. Before i did the -1 I want to start with only steer 1 but it seems that the smoke still won't come up from opacity 0 to 1 during the steer of 1. Please help thanks.
local BackLeftTireSmoke = script.Parent.BackLeftTire.Smoke.Opacity
while true do
wait(0.01)
if script.Parent.VehicleSeat.Steer == 1
then BackLeftTireSmoke = 1
end
end
EDIT**** I fund out that if I turn fire instead pops up in my BackLEftTire part but doesnt even ignite Actually yhe fire could be from the friction I set up the tires to
