local w=(script.Parent.Parent:FindFirstChild(modelname)):clone()local j=script.Parent enabled=true function onClick()if enabled==true then enabled=false j.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 local A=w:clone()A.Parent=script.Parent.Parent A:MakeJoints()wait(WaitTime)enabled=true j.BrickColor=BrickColor.new("\066\114\105\103\104\116 \118\105\111\108\101\116")end end script.Parent.ClickDetector.MouseClick:connect(onClick)



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

enabled = true

function onClick()

	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

		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.ClickDetector.MouseClick:connect(onClick)

