I got a problem in my script. I'm new so some advice would be appreciated. I'm tryna script a character touching a door and that door would open in a 90 degree angle. I thought of touch part = cframe.angle. This ius what i did for the handle of the part and I set up the door and the handle of the door into one folder. I also wanted to try to make both the handle and the door move at the same location
local ClickDetector = script.Parent
ClickDetector.Touched:Connect(function(ClickDetector)
if ClickDetector.Touched then
ClickDetector = CFrame.Angles(0, math.rad(90), 0)
end
end)
** You are now Level 1! **