What I want to happen
I've made an NPC script and I want it to clone so I made a spawner script that I found online and fixed it a bit.
Problem
Now It Won't Clone The Second Time So There Is A Problem With The While Loop.
Solutions
I Tried Changing The Name Of The Victim And Added Clone.Name So I Wanted To Test If Anything Happened. Nothing Did.
Script
local Victim = game.ReplicatedStorage.NPCFolder --ObjectNameHere
local spawner = script.Parent
while true do
local Clone = Victim.NPC:Clone()
Clone.Parent = workspace.NPC
Clone.Name = "NPC"
Clone.HumanoidRootPart.CFrame = spawner.CFrame
wait(3)
end

1 comment
Now Your Debounce works only once, and it needs a wait. Also I added some fixes in your code