Hey guys, I'm a beginner level scripter and I need to script a garage opening for solely my bus model. I have a script that currently doesn't work. The parts/models in the Garage model I have are door (model), script, sensor (part), and another "sensor" (part).
local wai = 8
local open = false
local Garage = script.Parent.door
function open(hit)
if hit.Name == "TestingGilligLF" then
open = true
Garage.Transparency = 1
Garage.CanCollide = false
wait(wai)
open = true
Garage.Transparency = 0
Garage.CanCollide = true
end
wait(1)
end
script.Parent.sensor.Touched:connect(open)
Again, please note that the door is a MODEL & no longer a part, and that there are 2 sensor parts. I also need 2 Garage's. Any help?
