Hello
I have been trying to make a GUI button that will spawn tools into the players hand when clicked. However, i don't know how to find the player that clicked the button (so that the object can be cloned into their inventory). This is what i have done so far.
local coffee = game.ReplicatedStorage.Food.Coffee
local button = script.Parent
button.MouseButton1Down:Connect(function()
end)
Thanks!

1 comment
Thank you very much!