Hello!
So I just wanted to ask. Can you use the player argument on a TextButton?
Thanks and have a nice day!
Hello!
So I just wanted to ask. Can you use the player argument on a TextButton?
Thanks and have a nice day!
What do you exactly want to do?
I want to make It so that when a player clicks the button, a ProximityPrompt's Enabled property Is set to true.
you dont need the player argument for that do u?
button.Mousebutton1Click:Connect(function()
proximityPrompt.Enabled = true
end)
Change the naming. This is a Script, not a LocalScript.
I make a shop GUI. So the script is out of the ProximityPrompt.
And It’s a Script.
brother put it under the gui button.
There is no player argument on any of the properties, methods or events of a TextButton!
UI scripting should ALWAYS be done on the client (localscript).