I am making a door that when you click it it will open and I am not sure how I would script it... This is what I tried but it didn't work... Sorry I am bad at scripting
local Part = script.Parent
local CD = Part.ClickDetector
CD.MouseClick:connect(function()
Part.Orientation = 40,0,0
end)

2 comments
Thanks!
Your welcome m8!