1 | local textbutton = Instance.new( "TextButton" ) |
2 | if textButton.Mousebutton 1 down:connect( function () |
3 | game.Players.LocalPlayer.Character.Humanoid = 1 |
4 | end ) |
This is the code I tried to make for clicking a gui to give a player a specific value. I would use the value to clone specific items into a players backpack based on the gui they clicked. (My gui uses the basic Roblox button gui, just moved the position and changed the sizing.) Can someone help me?