local U=(script.Parent.Parent:FindFirstChild(modelname)):clone()local c=script.Parent enabled=true function onTouched(I)if enabled==true then enabled=false c.BrickColor=BrickColor.new("\082\101\097\108\108\121 \098\108\097\099\107")if script.Parent.Parent:FindFirstChild(modelname)~=nil then(script.Parent.Parent:FindFirstChild(modelname)):Destroy()end wait(120)local I=U:clone()I.Parent=script.Parent.Parent I:MakeJoints()wait(WaitTime)enabled=true c.BrickColor=BrickColor.new("\066\114\105\103\104\116 \118\105\111\108\101\116")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)

