--[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]
--
local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
local AdvancedRespawnScript=script;
repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
local Ben=AdvancedRespawnScript.Parent;
if AdvancedRespawnScript and Ben and Ben:FindFirstChild("Thumbnail")then
Ben:FindFirstChild("Thumbnail"):Destroy();
end;
local GameDerbis=Game:GetService("Debris");
local BenHumanoid;
for _,Child in pairs(Ben:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then BenHumanoid=Child;
end;
end;
local Respawndant=Ben:Clone();
if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
coroutine.resume(coroutine.create(function()