Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ProdigyPNP
GitHub Repository: ProdigyPNP/ProdigyMathGameHacking
Path: blob/master/cheatGUI/src/utils/popupCloser.ts
2545 views
1
import { _ } from "../utils/util"; // Import prodigy thing
2
3
4
5
var PopupCloser : boolean = false;
6
7
8
export function PopupInterval (OnOff : boolean) {
9
10
PopupCloser = OnOff;
11
}
12
13
14
15
(async () => {
16
17
setInterval(async () => {
18
if (PopupCloser) {
19
_.instance.prodigy.open.menuCloseAll();
20
}
21
}, 200);
22
23
})();
24