code:
local part = script.Parent.ModelHolder[Models]:Clone()
part.Parent = workspace
part:SetPrimaryPartCFrame(CFrame.new(Vector3.new(0,math.random(0,360),0)))
code:
local part = script.Parent.ModelHolder[Models]:Clone()
part.Parent = workspace
part:SetPrimaryPartCFrame(CFrame.new(Vector3.new(0,math.random(0,360),0)))
Try this and reply if it works or not
local part = script.Parent.ModelHolder[Models]:Clone()
part.Parent = workspace
part:SetPrimaryPartCFrame(part:GetPrimaryPartCFrame() * CFrame.Angles(0, math.rad(0,360), 0))
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
You don't need the Vector3.new inside the CFrame
oh