Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

MouseButton1Down| Script Not Working?

Idea The idea is simple, Click a button, this script's parent. Then make another frame Visible.
Problem When I click the Text Button, Nothing Happens.
Code

script.Parent.MouseButton1Click:connect(function()
	script.Parent.Parent.Parent.Frame2.Visible = true
end)

Thanks!

1 answer

✓ Accepted answer

Hm, well it seems 1 of 2 things are occurring.

1: The hierarchy is incorrect. Make sure the path is correct! 2: The MouseButton1Click event isn't firing. Try making it MouseButton1Down. The click event is not my favorite, as I think you need to keep the mouse in the same position.

Hope I helped! Comment your results!

This discussion is preserved as it was. New answers, comments, and votes are closed.