I need help with my script can someone help me, please
if script.Parent.Parent.Parent.Door2.Transparency = 0 then
wait(3)
script.Parent.Enabled = true
script.Parent.Parent.Transparency = 0
script.Parent.Parent.CanCollide = true
script.Parent.Parent.Parent.Door2.Transparency = 1
script.Parent.Parent.Parent.Door2.CanCollide = true
end
in the output it says
Workspace.Door Model.Door.ProximityPrompt.Script:1: Expected 'then' when parsing if statement, got '='