code:
1 | local part = script.Parent.ModelHolder [ Models ] :Clone() |
2 | part.Parent = workspace |
3 | part:SetPrimaryPartCFrame(CFrame.new(Vector 3. new( 0 ,math.random( 0 , 360 ), 0 ))) |
Try this and reply if it works or not
1 | local part = script.Parent.ModelHolder [ Models ] :Clone() |
2 | part.Parent = workspace |
3 | part:SetPrimaryPartCFrame(part:GetPrimaryPartCFrame() * CFrame.Angles( 0 , math.rad( 0 , 360 ), 0 )) |