I am trying to make a tool that clones a model but I get an error saying CFrame is not a valid member of Model
My code
local item = script.Parent
local printer = game.Workspace["Test Printer"]
script.Parent.Activated:Connect(function()
local newprinter = printer:Clone()
newprinter.Name = "Printer"
newprinter.Parent = game.Workspace
newprinter.CFrame = script.Parent.Handle.Position + Vector3.new(10, 0, 0)
newprinter.Getmony.GetCash.Disabled = false
script.Parent:Destroy()
end)
Edit: I fixed it by changing Cframe to SetPrimaryPartCframe

1 comment
I fixed it using setprimarypartcframe