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)
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.)