I used this script. It printed rotated but did not rotate and roblox studio doesn't say anything is wrong with the code
model:SetPrimaryPartCFrame(model.MainPart.CFrame * CFrame.new(0,90,0))
print("rotated")
I used this script. It printed rotated but did not rotate and roblox studio doesn't say anything is wrong with the code
model:SetPrimaryPartCFrame(model.MainPart.CFrame * CFrame.new(0,90,0))
print("rotated")
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Did it raise up by 90 studs? CFrame.new(0,90,0) has no rotation so I wouldn't think it'd rotate lol. Try CFrame.angles
Thanks you're the best person ever