In the tool, there is a ScreenGui that when then the tool is equipped, I want the Gui to appear.
script.Parent.Equipped:connect(function(mouse)
print("Portable Vending Machine was equipped")
if mouse ~= nil then
local GUIClone script.Parent.ScreenGui:Clone()
GUIClone.Parent = game.Players.LocalPlayers.PlayerGui
end
end)
When I did this, it didn't work. Any suggestions?

1 comment
You're missing an equal sign on line 4