In the event that the alarms go off, SD Assault Units are cloned and moved from game.ReplicatedStorage.Soldiers to workspace.NPCs. The script isn't working. Here's the script:
while true do
local original = game.ReplicatedStorage.Soldiers.SDSoldier1
local copy = original:Clone()
copy.Parent = workspace.NPCs
wait(10)
end
What's gone wrong? I would appreciate some help! Thanks!

8 comments
"while true do" oh no
So how do you detect the alarms going off? Do you even have a script for that?
Yes. a Script will detect whether the alarms go off and then if they have, this script will enable.
try using SetPrimaryPartCFrame to move the clones somewhere on the workspace that you can see, its possible the script is putting them at some location super far from the origin.
No. They are set to be parented in the NPCs folder, and nothing is there. Output isn't saying anything
You can use the MoveTo() feature which allows you to move models. This isn’t a solution just saying for when you want to move it lol.
Try capitalizing workspace. Sometimes it freaks out when I don’t lol.
"workspace" is a global variable for "game.Workspace".