It says: CFrame is not a valid member of Model “Workspace.Pig”
What is “Pig”? Is it a part, model, mesh???
its a model with a folder for the legs the body and head are just in the model no folder
Ok then change line 7 to: money.CFrame = floppa.PrimaryPart.CFrame + CFrame.new(0,2,5)
It spawns in the money now but it says: ServerScriptService.Script:7: attempt to index nil with ‘CFrame’
Do you have a primary part in your pig???
I didnt I added a primary part but now it says: ServerScriptService.Script:7: invalid argument #2 (Vector3 expected, got CFrame) Sorry this is taking sorta long
First Option:
Since you are doing this on a local script change it to a server script which you can add by typing script in roblox studio.
Then put the same code you have in the local script to server script and delete the local script
Second Option:
Instead of putting MoneyObj in ServerStorage put it in replicated storage
Ok then you must put a primary part in your pig in order for the CFrame part to work, if this takes to long, just remove line 7
I added a Primary Part but I still get that error
Ok just remove line 7, that part doesn’t really matter unless you want it to go behind the floppa. Also make sure your primary part is called “HumanoidRootPart”, (still make sure this is a server script) and make sure the primary part’s orientation is set to 0,0,0 and that It’s in the middle of the floppa
Ok I will do that thanks for your help.