So I'm trying to make it so when someone clicks a gui button, they'll be given a gun, but I can't seem to access the player who clicked the button? I have it inside a localscript, inside a textbutton, inside a frame, inside the screen gui. I am using player = game.Players.LocalPlayer but it says it "returns a value"? |