This was an old question but answers didn't work so ye.
COMMUNITY QUESTION
How do I make a tool that when equiped a gui pops up?
1 answer
Create a GUI. Put it in a tool. Write this on a local script and put the local script into the tool.
local tool = script.Parent
local GUI = tool:FindFirstChild("GUINAME") or tool:WaitForChild("GUINAME")
local function Equipped()
local plr = game.Players.LocalPlayer
local plrgui = plr.PlayerGui
GUI.Parent = plrgui
end
local function Unequipped()
GUI.Parent = tool
end
tool.Unquipped:connect(Unequipped)
tool.Equipped:connect(Equipped)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Eww. Spoon feeding and giving deprecated code.