Simple Enemy Respawn Script

This is a free open-source respawn script anyone can use:

The script:

local bot = script.Parent
local timeToRespawn = 3 --Can Customize the time

local botClone = bot:Clone()

script.Parent.Humanoid.Died:Connect(function()
	wait(timeToRespawn)
	
	botClone.Parent = workspace
	script.Parent:Destroy()
end)
5 Likes

nice but what difference does this have than the ones found in freemodels? (i guess obv one would be lack of virus/backdoor but still)

3 Likes

Thank you for providing this resource!

However, in its current state; the script seems somewhat essential. To make this a valuable resource for more people, you could try adding some features to it!

For example:

  • Adding respawning mechanics that function more than once
  • Converting the script into a module that could be applied to any Humanoid dynamically
  • Adding extra functionality to the respawn mechanics (custom health, respawn location, etc.)

Otherwise, good work!

2 Likes

I do see your point. Many of the free models do have this script but there are none on devhub so I wanted to share one with the community.

1 Like

Great Advice! I will definitely introduce those features into the next version of the script.

1 Like

OMG, thank you so much! This worked better than I thought! deserves a follow :slight_smile: