Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can Some One Help Me To Fix This Smoke Script?

local s = Scrip.Parent.Smoke.Enable
local t = Script.Parent.Parent.Bus.VehicleSeat.Throttle

while true do
	if t = 1 then
		s = true
	end
		end
	

1 answer

✓ Accepted answer

In your local s line you put.

local s = Scrip.Parent.Smoke.Enable

It should be:

local s = script.Parent.Smoke.Enable

You spelt script wrong and you need it in lowercase, so script not Script.

Hope this helps, sorry if it doesn't.

6 comments

0

no it don't work

0

Wait, what are you trying to do?

0

turn on smoke when you drive

1

I think you may have to do t > 1. Otherwise it will only smoke when the throttle is exactly one. OR you need to do if t == 1, by doing t = 1 you are assigning 1 to t.

0

yes that did it

0

Im happy to help.

This discussion is preserved as it was. New answers, comments, and votes are closed.