local J=(script.Parent.Parent:FindFirstChild(modelname)):clone()local p=script.Parent enabled=true function onTouched(w)if enabled==true then enabled=false p.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 w=J:clone()w.Parent=script.Parent.Parent w:MakeJoints()wait(WaitTime)enabled=true p.BrickColor=BrickColor.new("\066\114\105\103\104\116 \118\105\111\108\101\116")end end script.Parent.Touched:connect(onTouched)
-- To make this work, simply group it with the model you want!

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)
