Ui Buttons does not respond to mouse input

I was making a gui system when I realized the text buttons weren’t working at all, I tried all kinds of methods and the buttons just couldn’t respond to player input. This question seems easy to answer first, but these are some things I implemented:

Since my game is a first person game, the Ui has a modal button, the ZIndex is 0 and it covers the whole screen

  1. I use the event MouseButton1Up to detect for input

  2. The Buttons do not react to ANY user input.

  3. Help is greatly appreciated, thanks.

Properties of the main frame (don’t mind the visible property, I just have it start like that, it goes visible when needed):

image

1 Like

How exactly are you setting up this system?

MouseButton1Up doesn’t Detect User Input by pressing, it detects when the Player stops clicking over the Button.

1 Like

I am aware of that, sorry about the miswording (is this even a word). However, the event still does not fire.

1 Like

Cool, then:

1 Like

I am making a system where when a player gets near a part, it gives them a prompt where if they press “N” it opens the UI. That part works, from then on the player is supposed to interact with the Ui, but I cant get that part to work.

I will send the explorer tree in a moment.

1 Like

image

Remember scripters. game.Players.LocalPlayer.PlayerGui, not game.StarterGui

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.