Button not working

Add a wait(4) If it is a local script.

1 Like

I use local script for this soo alright lemme try

Try changing it to normal Script

Oh yeah, that is why then add a wait on the first line.

wait(4)
local clickDetector = workspace.Button.ClickDetector local function onMouseClick() print(“You clicked the button wow that was pretty useless!”) end`

clickDetector.MouseClick:Connect(onMouseClick)

holy heck ok this one work finnaly!!!

You are welcome, good luck as well!

ok thank you all for the feedback and solution am gonna go sleep now

No problem, also don’t forget to mark the solution so everyone here knows this post got solved and not post more solutions.