When I click The Button on The surface gui it doesn't give me the key. If you would like to see a video please let me know. (Also does anyone have an idea on how to make the text change to the persons name when clicked and reset if the player leaves the game and if the players already has a key it doesn't clone more into the player's backpack when pressed)
local p = game.Players.LocalPlayer script.Parent.MouseButton1Click:connect(function() local tool = game.Lighting.Key:Clone() tool.Parent = p.Backpack end)
So first, you want to put the surfacegui in StarterGui, and set the Adornee to the part that you want the SurfaceGui to be on, then it should work!