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)

5 comments
can i have the error it gives or does it not give any error?
No errors given
http://wiki.roblox.com/index.php?title=API:Class/Lighting
You linked me to the wiki but there's nothing there that helps
Sorry. qq I forgot to note that it states: "However, ServerStorage and ReplicatedStorage should now be used for this purpose instead." in the page.