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

Can Some One Help Me To Fix This Smoke Script?

Asked by 11 years ago
1local s = Scrip.Parent.Smoke.Enable
2local t = Script.Parent.Parent.Bus.VehicleSeat.Throttle
3 
4while true do
5    if t = 1 then
6        s = true
7    end
8        end

1 answer

Log in to vote
1
Answered by 11 years ago

In your local s line you put.

1local s = Scrip.Parent.Smoke.Enable

It should be:

1local 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.

0
no it don't work mrpoliceman2004 20 — 11y
0
Wait, what are you trying to do? giraffe73 5 — 11y
0
turn on smoke when you drive mrpoliceman2004 20 — 11y
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. giraffe73 5 — 11y
View all comments (2 more)
0
yes that did it mrpoliceman2004 20 — 11y
0
Im happy to help. giraffe73 5 — 11y
Ad

Answer this question