The title really sums it up, Im trying to make a GUI show up when you equipe a tool but its not working.
Tool = script.Parent
Gui= Tool:WaitForChild("StickGui"):clone()
Tool.Equipped:connect(function()
print("Equipped")
Gui.Parent = game.Players.LocalPlayerStarterGui
end)
Tool.Unequipped:connect(function()
print("Unequipped")
Gui:Destroy()
end)
(No errors its not even printing)

2 comments
Even though I already put my answer, try removing :WaitForChild("StickGui") to .StickGui as it might show an error. Whenever you wait for a child, it puts your whole script on hold, which means that no errors happen, until it finds the Child it is searching for.
It is a local script your thing dose not work it gives a error of "Unable to cast a value to Object" on line 3.