Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local PlayerGui = Player.PlayerGui
- local MenuTool = script.Parent
- local MenuGui = PlayerGui:WaitForChild("MenuGui")
- MenuGui.Enabled = false
- MenuTool.Equipped:Connect(function()
- MenuGui.Enabled = true
- end)
- MenuTool.Unequipped:Connect(function()
- MenuGui.Enabled = false
- end)
Add Comment
Please, Sign In to add comment