1 | local s = Scrip.Parent.Smoke.Enable |
2 | local t = Script.Parent.Parent.Bus.VehicleSeat.Throttle |
3 |
4 | while true do |
5 | if t = 1 then |
6 | s = true |
7 | end |
8 | end |
In your local s line you put.
1 | local s = Scrip.Parent.Smoke.Enable |
It should be:
1 | 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.