-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdisableMono.lua
More file actions
31 lines (27 loc) · 791 Bytes
/
disableMono.lua
File metadata and controls
31 lines (27 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--##### Disable Mono Lua Script for Cheat Engine
--##### Author: FreeER
--##### Github: https://github.com/FreeER
--##### Website: https://www.facebook.com/groups/CheatTheGame
--##### YouTube: https://www.youtube.com/channel/UCLy60mbqc3rSvh42jkpCDxw
--[[
adds a menu option to disable mono in the Mono menu
]]
-- START OF EXT TEMPLATE CONFIG --
local extItemCaption = 'Disable'
-- START OF EXT TEMPLATE CONFIG --
-- menu code --
local extMenuItem = createMenuItem(extMenu)
extMenuItem.Caption = extItemCaption
local t = createTimer()
t.Interval = 1000
t.OnTimer = function(t)
if not miMonoTopMenuItem then return end
extMenu = miMonoTopMenuItem
extMenu.add(extMenuItem)
t.destroy()
end
-- menu code --
extMenuItem.OnClick = function()
monopipe.destroy()
monopipe = nil
end