I'm trying to fix the problem in the script's position:
script.Parent.MouseClick:connect(function(click)
script.Parent.Parent.Position = Vector3.new(-7, 8, -4)
script.Parent.Parent.CFrame = CFrame.Angles(0, -45, 0)
wait(2)
script.Parent.Parent.Positiob = Vector3.new(-7, 8, -4)
script.Parent.Parent.CFrame = CFrame.Angles(0, -89.98, 0)
wait(2)
script.Parent.Parent.Position = Vector3.new(-7, 8, -4)
script.Parent.Parent.CFrame = CFrame.Angles(0, 0, 0)
end)
I even set the position to where its supposed to be, but its still changing the position to: 0, 0, 0

2 comments
Thats the exact opposite of the answer I got in the roblox website.. xD
The problem is CFrames have two components, position and rotation. Setting it to 'CFrame.Angles' creates a new CFrame with a position of (0,0,0).