I got a spawner script and used it to spawn enemies. I wanted to use it to spawn models, but everytime I try to spawn a model, the primary part of the model is the only one that gets spawned at the spawners location. The rest of the model is spawned at the place it was at before it got put into replicated storage. How do I fix this?
script:
local NPC = game.ReplicatedStorage. --ObjectNameHere
local spawner = script.Parent
local Clone = NPC: Clone()
Clone.Parent = workspace
Clone.PrimaryPart.CFrame = spawner.CFrame
try spawning grouped up parts (models) with this script, not humanoid models and then you’ll see what I mean