Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

what is going on..... My tool mouseclick won't do anything when I click on the door?

Asked by 6 years ago

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

0
are you on filtering enabled or did you foget to put a click detector?? policopi 37 — 6y
0
that script is in the handle of the tool dareveloper 9 — 6y
0
heeeeeeeellllppppppp dareveloper 9 — 6y
0
"if mouse.Target.Name == "Model" then" Did you specify the variable "model"? ziploz 7 — 6y

Answer this question