script.Parent.Parent.Equipped:Connect(function(mouse)

mouse.Button1Down:Connect(function()

if mouse.Target.Name == "Model" then

print"yes" else print"no"

game.Workspace.Model.Handle.ClickDetector:Destroy()

end

end)

end)

the model thing has a clickdetector and i want it to be gone but nothing happens even though im clicking on it and the output gave me no errors

i also tried to just disable the script in the handle but that isnt working too

pls help urgently

4 comments

0

are you on filtering enabled or did you foget to put a click detector??

0

that script is in the handle of the tool

0

heeeeeeeellllppppppp

0

"if mouse.Target.Name == "Model" then" Did you specify the variable "model"?