If anyone can please help me I would be so thankful.
COMMUNITY QUESTION
How to make a GUI appear when a tool is equipped?
1 answer
just something quick i put together don't know if this is what you are exactly looking for.
local Player = game.Players.LocalPlayer -- Gets The Local Player
local Backpack = Player:WaitForChild("Backpack") -- Waits For The Instance "Backpack" Inside Of Player
local Tool = Backpack.ToolNameHere -- Put Your Tool Name Here
local PlayerGui = Player:WaitForChild("PlayerGui") -- Waits For The Instance "PlayerGui" Inside of Player
local Gui = PlayerGui.GuiNameHere -- Finds Your Gui Inside Of The Players Gui
local FrameToMakeVisible = Gui.FrameNameHere -- Any Child Of The Gui That Has The Property "Visible"
Tool.Equipped:Connect(function() -- Fires When Tool Is Equipped
FrameToMakeVisible.Visible = true -- Will Set The Gui To Visible
end)
Tool.Unequipped:Connect(function() -- Fires When Tool Is Un Equipped
FrameToMakeVisible.Visible = false -- Will Set The Gui To Invisible
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
If you have not read the community guidelines already, please review them because it clearly states you shouldnt post requests for scripts