I've tried multiple things trying to get a tool that opens a gui upon equipping it and removing the gui when you put the tool away, but none work. Can anyone help me?
local player = game.Players.LocalPlayer local gui = player.PlayerGui.MyScreenGui gui.Parent = nil script.Parent.Equipped:connect(function(mouse) gui.Parent = player.PlayerGui end) script.Parent.Unequipped:connect(function(mouse) gui.Parent = nil end)
Well, for one, this question can be answered by 3 links.
All what you will need to know, about Tools
Utilize those.