So I have this script that keeps timing out, I have never been good with stuff like this and getting it to not time out, any help?
while true do
if script.Parent.Parent.Occupied.Value == true then
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,.05)
wait()
else
end
end