Door=Script.Parent
function onTouched(hit)
for 1,5 do
wait(.1) Door.Transparency= +.1
end
wait(.5) for i=1, 200 do door.CFrame = door.CFrame * CFrame.new(0,0.4,0) wait(0.025) end
wait(5)
Door.CanCollide = true
for 1,5 do
wait(.1) Door.Transparency= -.1
end
for i=1, 200 do door.CFrame = door.CFrame * CFrame.new(0,0.4,0) wait(0.025) end
wait(.5)
script.Parent.Touched:connect(onTouched)
--Not sure exactly why it isn't working, i think i have messed up my For loop possibly can anyone help out?