So this code here works fine for me but I'm trying to put all the Medkit's into a folder but every time I do that it stops respawning. I'm not entirely sure what the problem is or how to go to solve it.

BackUp = workspace['Medkit1']:Clone()				--put tool that you would like to respawn here.

while wait(5) do									--between these brackets, put the amount of seconds you would like until it respawns.
  if not workspace:FindFirstChild('Medkit1') then	--put tool you would like to respawn here.
    BackUp:Clone().Parent = workspace
  end
end

2 comments

0

Based on the comments I see, you probably copied and pasted this from somewhere... The problem is it's putting the medkit from the workspace (which is being duplicated) into the folder, so there is no medkit in the workspace to duplicate

0

So would simply adding something like "workspace.Medkit" to everything work? For example ---"BackUp = workspace.Medkit['Medkit1']:Clone()---