Basically each time you click this GUI, a table rotates. But if you keep clicking it it will break. Any ideas why, and how to fix?
local x1, y1, z1 = tabel.Base.CFrame:toEulerAnglesXYZ() if e <360 then e = e + 22.5 else e = 0 print("'e' Was reset") end tabel:setPrimaryPartCFrame(tabel.Base.CFrame*CFrame.Angles(x1*-1, y1*-1, z1*-1)*CFrame.Angles(0, math.rad(e), 0))