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

Why do screen gui buttons not click? [closed]

Asked by
s1muIate -35
6 years ago

They just don't. I can't click them. Also please don't ask me a dumb question like "oh whats the script" and then just walk off.

1
How do you know you can't click them? Does the MouseButton1Down not run? If so, please post the code. Also it is probably not it but if your buttons are white and have their style set to custom, hovering over them and clicking them doesn't change their color. Amiaa16 3227 — 6y
0
Put in code blocks with the script in so we can speak. User#22722 20 — 6y
1
Pal, if the buttons dont work, that means that theres likely something wrong with the script. That's why we need the script. stepatron 103 — 6y
0
Please post the script plasma_node 343 — 6y
View all comments (3 more)
0
WE CANT FIND OUT THE PROBLEM WITHOUT CODE TO INSPECT GODDAMMIT, NEITHER IS THERE ANY DETAILS ABOUT IT fanofpixels 718 — 6y
0
We need the script, how are we supposed to fix the script without seeing it. Void_Frost 571 — 6y
0
Are you sure you used "Buttons"?And anyone isn't kidding, if button doesn't work that's script's fault, we are not walking off we are trying to say than we need more explanation, and the site name is "scripting helpers", if you have a script with bugs, post it we can try to fix, but if it's any question like this, you should answer us "how" to answer your question TheSkyofIndia 150 — 6y

Closed as Non-Descriptive by plasma_node, Void_Frost, LateralLace, User#19524, and Amiaa16

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 6 years ago

"Also please dont ask me dumb question like "oh whats the script?" And then just walk off". We ask that "dumb" question because we need to fix your script. We cant without seeing your code.

Anyway, check if the script even works.

Check if the script knows where the button it.

Check if the button is an actually BUTTON and not like text laber or something else.

This is a simple script that will increase your walk speed when you click the button:

Plr = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
           Plr.Character.Humanoid.WalkSpeed = 100 --What wver speed you want (default: 16)
end)

This should be in LocalScript.

The placement should be like this: StarterGUI -> ScreenGUI -> TextButton -> LocalScript.

Next time you want help, dont be rude. And understand why the hell we need your script. We cant just tell you your problem. There are tons of issues with scripts. And what you want us to do? Sit hours on the same post waiting for your script? No.

0
Agreed. Upvote from me. User#19524 175 — 6y
Ad