local f=(script.Parent.Parent:FindFirstChild(modelname)):clone()local N=script.Parent enabled=true function onTouched(N)if enabled==true then enabled=false if script.Parent.Parent:FindFirstChild(modelname)~=nil then(script.Parent.Parent:FindFirstChild(modelname)):Destroy()end wait(120)local N=f:clone()N.Parent=script.Parent.Parent N:MakeJoints()wait(WaitTime)enabled=true end end script.Parent.Touched:connect(onTouched)



local modelbackup = script.Parent.Parent:FindFirstChild(modelname):clone()
local trigger = script.Parent

enabled = true

function onTouched(hit)
	

	if enabled == true then

		enabled = false
		--trigger.BrickColor = BrickColor.new("Really black")

	if script.Parent.Parent:FindFirstChild(modelname) ~= nil then

		script.Parent.Parent:FindFirstChild(modelname):Destroy()


	end
wait(120)
		local modelclone = modelbackup:clone()
		modelclone.Parent = script.Parent.Parent
		modelclone:MakeJoints()

		wait(WaitTime)
		
		enabled = true
		--trigger.BrickColor = BrickColor.new("Bright violet")

	end

end
script.Parent.Touched:connect(onTouched)

