--[Modage]
NewVersionGL = false
--[Main Script]
Var0 = "OnDialogRequest"
Var1 = [[set_default_color|`w
add_label_with_icon|small|`8BooLua Community|left|2918|
add_spacer|small|
add_label_with_icon|small|`5VIP `b- `5Free Scripts CPS|left|1368|
add_label_with_icon|small|`eGL `b- `2BotHax `b- `8GPai|left|1368|
add_label_with_icon|small|`6Report Bug Script|left|1368|
add_label_with_icon|small|`3Request Script|left|1368|
add_label_with_icon|small|`8Learn Script|left|1368|
add_spacer|small|
add_url_button||`qDiscord``|NOFLAGS|[Link]
Community.|0|0|
add_smalltext|`9Need more scripts?!Join now!|
add_quick_exit|]]
if NewVersionGL then
SendVariant({v1 = Var0, v2 = Var1})
else
SendVariant({v0 = Var0, v1 = Var1})
end
AddHook(function(var)
if var.v1 == "OnConsoleMessage" and var.v2:find("You are recovering") then
SendPacket(2, "action|input\n|text|/modage 60")
end
if var.v1 == "OnConsoleMessage" and var.v2:find("not allowed to perform
surgery") then
SendPacket(2, "action|input\n|text|/modage 60")
end
if var.v1 == "OnConsoleMessage" and var.v2:find("Spam detected!") then
return true
end
if var.v1 == "OnTalkBubble" and var.v3:find("You are healed") then
return true
end
if var.v1 == "OnTalkBubble" and var.v3:find("!reset") then
SendPacket(2, "action|input\n|text|/modage 60")
end
return false
end, (NewVersionGL and "onVariant" or "OnVariant"))