Hi! So I’ve been messing around and learning about CFrame, I wanted to make it so the part would spin, I used this article to learn some more about CFrame.Angles() , but when I tried it out the part disappeared. I Checked the Explorer and it had been deleted?
I tried it again using the code given in the section about CFrame.Angles(), and the same thing happened.
This is the code the article used for CFrame.Angles()
local redBlock = game.Workspace.RedBlock
-- Create new rotated CFrame
local newCFrame = CFrame.Angles(0, math.rad(45), 0)
-- Overwrite red block's current CFrame with new CFrame
redBlock.CFrame = newCFrame