How to set models rotation

Hi, I am asking how to set rotation of model.
I tried this code, but it didnt do what expected clone:SetPrimaryPartCFrame(CFrame.new(workspace.spawn.Position, Vector3.new(0,clone.Value.Value,0)))

Most setters come with getters. Use it and apply an angular CFrame. Make sure your units are in radians.

local currentCFrame = clone:GetPrimaryPartCFrame()
clone:SetPrimaryPartCFrame(currentCFrame * CFrame.Angles(0, math.rad(90), 0))

Should do it.