local catbounce = false
function clicker() if not catbounce then
catbounce = true copy1 = Instance.new("ClickDetector",workspace.button1) copy2 = Instance.new("ClickDetector",workspace.button2) copy3 = Instance.new("ClickDetector",workspace.button3) copy4 = Instance.new("ClickDetector",workspace.button4) print("thingy gone") catbounce = false end end workspace.path1.Touched:connect(clicker)
I believe you need this..
catbounce = true if catbounce == true then copy1 = Instance.new("ClickDetector",workspace.button1) copy2 = Instance.new("ClickDetector",workspace.button2) copy3 = Instance.new("ClickDetector",workspace.button3) copy4 = Instance.new("ClickDetector",workspace.button4) print("thingy gone") catbounce = false end end workspace.path1.Touched:connect(clicker)