0% found this document useful (0 votes)
16 views51 pages

UIGMControlPanel Lua Script Overview

The document outlines a Lua script for a game control panel that manages various game settings and features. It includes functions for displaying and refreshing UI elements, handling user input, and managing game settings related to hacks and cheats. Additionally, it implements color interpolation for UI elements and provides mechanisms for showing and hiding the control panel with animations.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views51 pages

UIGMControlPanel Lua Script Overview

The document outlines a Lua script for a game control panel that manages various game settings and features. It includes functions for displaying and refreshing UI elements, handling user input, and managing game settings related to hacks and cheats. Additionally, it implements color interpolation for UI elements and provides mechanisms for showing and hiding the control panel with animations.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local originalRequire = require

require = function(moduleName)
if moduleName == "[Link]" then
[Link]("Blocked loading of CommonListener.")
return {}
end
return originalRequire(moduleName)
end

UIGMControlPanel = require("engine_client.[Link]")

function UIGMControlPanel:show()
[Link](self)
[Link](self)
if [Link] then
LuaTimer:cancel([Link])
[Link] = nil
end
self:refreshItemStates()
[Link] = LuaTimer:scheduleTimer(function()
self:refreshItemStates()
end, 1000, -1)
end

function UIGMControlPanel:refreshItemStates()
local settings = GMSetting:getSettings()
local root = [Link]
if not root then return end
local count = root:GetChildCount()
for i = 1, count do
local child = root:GetChildByIndex(i - 1)
if child then
local textWin = child
if textWin and [Link] and [Link] then
local itemText = textWin:GetText()
local cleanText = itemText:gsub("^[&^%$%[%]]+", ""):gsub("[%[%]$&%
$]+", ""):gsub("^%s*(.-)%s*$", "%1")
for _, group in pairs(settings) do
for _, item in pairs([Link]) do
local cleanItem = [Link]:gsub("^[&^%$%[%]]+",
""):gsub("[%[%]$&%$]+", ""):gsub("^%s*(.-)%s*$", "%1")
if cleanItem == cleanText then
local key = [Link] .. ([Link]([Link], -7) ==
"Enabled" and "" or "Enabled")
local enabled = [Link](key, false)
textWin:SetBackgroundColor(enabled and [Link] or
[Link])
pcall(function()
textWin:SetTextColor({1, 0, 0, 1})
end)
break
end
end
end
end
end
end
end
function UIGMControlPanel:hide()
if [Link] then
LuaTimer:cancel([Link])
[Link] = nil
end
showCloseAnim(self, function()
[Link](self)
end)
end

function UIGMControlPanel:onLoad()
[Link] = nil
[Link]:SetLevel(1)
self:getChildWindow("GMControlPanel-Close-Text"):SetText("×")
local llTabs = self:getChildWindow("GMControlPanel-Tabs")
[Link] = self:getChildWindow("GMControlPanel-Input-Layout",
[Link])
[Link]:SetVisible(false)
[Link] = self:getChildWindow("GMControlPanel-Input-Edit", [Link])
[Link] = [Link]("GMControlPanel-Tabs-List", llTabs)
[Link]:setItemSpace(5)

local llContent = self:getChildWindow("GMControlPanel-Content")


[Link] = [Link]("GMControlPanel-Items-List", llContent)
[Link]:setConfig(10, 10, 5)
local itemW = ([Link]:getWidth() - 60) / 5
[Link] = [Link]("GMItemAdapter")
[Link]:setItemSize(itemW, 40)
[Link]:setAdapter([Link])

local btnClose = self:getChildWindow("GMControlPanel-Close", [Link])


btnClose:registerEvent([Link], function()
self:hide()
end)

local stFilterText = self:getChildWindow("GMControlPanel-FilterText",


[Link])
stFilterText:SetBordered(true)

local elapsedTime = 0
local function rgbUpdate()
hue = (hue + 0.5) % 360
elapsedTime = elapsedTime + 0.05
local r, g, b, a = interpolateColor(hue)
local seconds = [Link](elapsedTime % 60)
local minutes = [Link]((elapsedTime / 60) % 60)
local hours = [Link](elapsedTime / 3600)
local fps = [Link]():getFPS()
local ping = [Link]():getRaknetPing()
local currentTime = [Link]("%I:%M %p")
pcall(function()
stFilterText:SetTextColor({ r, g, b, 0.8 })
end)
stFilterText:SetText([Link]("", hours, minutes, seconds, fps, ping))
end

LuaTimer:scheduleTimer(rgbUpdate, 50, -1)

[Link] = self:getChildWindow("GMControlPanel-FilterValue",
[Link])
[Link]:SetMaxLength(500)
[Link]:SetBackgroundColor({ 0, 0, 0, 0 })
[Link]:registerEvent([Link], function(args)
if [Link] == 0 then
self:selectTab([Link])
end
end)

[Link]:SetMaxLength(1200)
[Link]:SetVisible(true)
pcall(function()
[Link]:SetTextColor({ 0, 0, 0, 0 })
end)
[Link]:SetText("Search Feature/Item")
[Link]:registerEvent([Link], function(args)
if [Link] == 0 then
self:inputText()
end
end)

[Link]:registerEvent([Link], function()
self:closeInput()
end)

[Link]:registerEvent([Link], function(args)
if [Link] then
[Link] = [Link]
end
end)
end

function showCloseAnim(layout, callback)


local root = [Link]
local count = root:GetChildCount()
if count == 0 then
if callback then callback() end
return
end

local animationsRemaining = count

local function checkCompletion()


animationsRemaining = animationsRemaining - 1
if animationsRemaining <= 0 then
if callback then callback() end
end
end

for index = 1, count do


local content = root:GetChildByIndex(index - 1)
if content then
local scale = 0.5
layout:addTimer(LuaTimer:scheduleTicker(function()
if scale > 0 then
scale = scale - 0.05
if scale < 0 then
scale = 0
end
content:SetScale(VectorUtil.newVector3(scale, scale, scale))
end

if scale == 0 then
checkCompletion()
end
end, 1, 20))
end
end
end

local function getGameVersion()


local info = [Link]()
if info then
info = [Link](info)
if info.app_version then
return info.app_version
else
return ""
end
else
return ""
end
end

function roast3()
local playerPosition = PlayerManager:getClientPlayer().Player:getPosition()
playerPosition.y = playerPosition.y + 1
MsgSender:sendRequestSpawnEntityBlock({pos = playerPosition})
end

function Game:init()
local creditsText = "&$[ffca00ff-fbd33fff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff-677dffff-ac61ffff-fd15ffff]$Credits: TYMAH OFFICIAL [2.127.2]$&"
[Link](100000000000, creditsText)
[Link]("InTheAirCntLimit", [Link])
[Link]("InTheAirTimeLimit", 99999)
local misc = require("misc")
local Base64_decode = function(str)
local dec = misc.base64_decode(str)
return dec
end

local writeFile = function(filePath, content)


local file, error_message = [Link](filePath, "w")
if not file then
print("Error:", error_message)
else
file:write(content)
file:close()
print("File written successfully to : ".. filePath)
end
end
local interpolateColor = function(hue)
local r, g, b = 0, 0, 0
if hue < 60 then
r, g, b = 1, hue / 60, 0
elseif hue < 120 then
r, g, b = (120 - hue) / 60, 1, 0
elseif hue < 180 then
r, g, b = 0, 1, (hue - 120) / 60
elseif hue < 240 then
r, g, b = 0, (240 - hue) / 60, 1
elseif hue < 300 then
r, g, b = (hue - 240) / 60, 0, 1
else
r, g, b = 1, 0, (360 - hue) / 60
end
return r, g, b
end

CreditScreen = GUIManager:createGUIWindow([Link],
tostring([Link](1, 999e9)))
CreditScreen:SetHorizontalAlignment([Link])
CreditScreen:SetVerticalAlignment([Link])
CreditScreen:SetYPosition({0, 110}); CreditScreen:SetXPosition({0, 450})
[Link]():GetRootWindow():AddChildWindow(CreditScreen)
CreditScreen:SetLevel(0); CreditScreen:SetBordered(true)
CreditScreen:SetText(" Credits : TYMAH OFFICIAL
[2.127.1] [beta - 1.0]")
CreditScreen:SetBackgroundColor({0, 0, 0, 1}); CreditScreen:SetWidth({0, 700});
CreditScreen:SetHeight({0, 28})
CreditScreen:SetVisible(true)
CreditScreen:SetTextHorzAlign([Link])
local hue_screen = 0
local function UpdateCreditScreenColor()
hue_screen = (hue_screen + 0.5) % 360
local r, g, b = interpolateColor(hue_screen)
pcall(function()
CreditScreen:SetTextColor({r, g, b, 1.7})
end)
end
LuaTimer:scheduleTimer(UpdateCreditScreenColor, 10, -1)
end

function Pose()
local POS = GUIManager:createGUIWindow([Link], "GUIRoot-Pose")
POS:SetVisible(true)

local function UpdatePosition()


local me = PlayerManager:getClientPlayer()
local myPos = [Link]:getPosition()
local positionText = [Link]("Pos: %.2f, %.2f, %.2f", myPos.x,
myPos.y, myPos.z)

POS:SetText(positionText)
end

local function interpolateColor(hue)


local r, g, b = 0, 0, 0
if hue < 60 then
r, g, b = 1, hue / 60, 0
elseif hue < 120 then
r, g, b = (120 - hue) / 60, 1, 0
elseif hue < 180 then
r, g, b = 0, 1, (hue - 120) / 60
elseif hue < 240 then
r, g, b = 0, (240 - hue) / 60, 1
elseif hue < 300 then
r, g, b = (hue - 240) / 60, 0, 1
else
r, g, b = 1, 0, (360 - hue) / 60
end
return r, g, b, 0.6
end

local hue1 = 0
local speed = 0.5

LuaTimer:scheduleTimer(function()
hue1 = (hue1 + speed) % 360
local r, g, b, a = interpolateColor(hue1)
pcall(function()
POS:SetTextColor({ r, g, b, a })
end)
end, 50, -1)

POS:SetWidth({ 0, 150 })
POS:SetHeight({ 0, 30 })
POS:SetXPosition({ 0, 10 })
POS:SetYPosition({ 0, 655 })
POS:SetBordered(true)
[Link]():GetRootWindow():AddChildWindow(POS)

LuaTimer:scheduleTimer(UpdatePosition, 100, -1)


end
Pose()

function Game:isOpenGM()
return isClient
end

local Settings = {}
GMHelper = {}
GMSetting = {}

local function isGMOpen(userId)


if isServer then
return true
end
return [Link](AdminIds, tostring(userId))
end

function GMSetting:addTab(tab_prefix, tab_name)


if tab_prefix ~= "nt" then
return
end
local final_tab_name = tab_name
for _, setting in pairs(Settings) do
if [Link] == final_tab_name then
[Link] = {}
return
end
end
[Link](Settings, { name = final_tab_name, items = {} })
end
function GMSetting:addItem(tab_name, item_name, func_name, ...)
local settings
for _, group in pairs(Settings) do
if [Link] == tab_name then
settings = group
break
end
end
if not settings then
return
end
[Link]([Link], { name = item_name, func = func_name, params =
{ ... } })
end

function GMSetting:getSettings()
return Settings
end

GMSetting:addTab("nt", "Hack")

GMSetting:addItem("Hack", "^FF0000unlimited jump", "aexfzd")


GMSetting:addItem("Hack", "^FF0000aim bow", "AimBow")
GMSetting:addItem("Hack", "^FF0000AimBot", "btnFarAimBot")
GMSetting:addItem("Hack", "^FF0000anti void", "AntiVoid")
GMSetting:addItem("Hack", "^FF0000Attack btn", "atkBtn")
GMSetting:addItem("Hack", "^FF0000AttackCD", "BanClickCD")
GMSetting:addItem("Hack", "^FF0000AutoRespawn", "AutoRespawnV2")
GMSetting:addItem("Hack", "^FF0000BigPlayers", "BigPlayers")
GMSetting:addItem("Hack", "^FF0000Blink", "Blink")
GMSetting:addItem("Hack", "^FF0000BowSpeed", "BowSpeed")
GMSetting:addItem("Hack", "^FF0000TpClick", "TpClick")
GMSetting:addItem("Hack", "^FF0000DevFly", "DevFly")
GMSetting:addItem("Hack", "^FF0000DevNoClip", "DevNoClip")
GMSetting:addItem("Hack", "^FF0000FastBreak", "FastBreak")
GMSetting:addItem("Hack", "^FF0000FastJump", "FastJump")
GMSetting:addItem("Hack", "^FF0000Fog", "Fog")
GMSetting:addItem("Hack", "^FF0000Camera", "FreeCam")
GMSetting:addItem("Hack", "^FF0000HitBox", "HitBox")
GMSetting:addItem("Hack", "^FF0000jump height", "JumpHeight")
GMSetting:addItem("Hack", "^FF0000LongJump", "LongJump")
GMSetting:addItem("Hack", "^FF0000Speed", "Speed")
GMSetting:addItem("Hack", "^FF0000Noclip", "NoClipOP")
GMSetting:addItem("Hack", "^FF0000NoFallDamage", "NoFallDamg")
GMSetting:addItem("Hack", "^FF0000NoKnockBack", "NoKnockBack")
GMSetting:addItem("Hack", "^FF0000Reach", "Reach")
GMSetting:addItem("Hack", "^FF0000ReachPlayer", "ReachPlayer")
GMSetting:addItem("Hack", "^FF0000Respawn", "Respawn")
GMSetting:addItem("Hack", "^FF0000Tracer", "Tracer")
GMSetting:addItem("Hack", "^FF0000UnDeath", "UnDeath")
GMSetting:addItem("Hack", "^FF0000WWE_Camera", "WWE_Camera")
GMSetting:addItem("Hack", "^FF0000KillAura", "KillAura")
GMSetting:addItem("Hack", "^FF0000QuickPlaceBlock", "QuickPlaceBlock")
GMSetting:addItem("Hack", "^FF0000DestroyBlock", "ClickToDestroy")
GMSetting:addItem("Hack", "^FF0000HideName", "HidePlayerName")
GMSetting:addItem("Hack", "^FF0000JumpHD", "JumpDpad")
GMSetting:addItem("Hack", "^FF0000ESP", "EspMode")
GMSetting:addItem("Hack", "^FF0000ThiefItem", "ItemThief")
GMSetting:addItem("Hack", "^FF0000ScroftWater", "SpawnWater")
GMSetting:addItem("Hack", "^FF0000JetPack", "JetPack")
GMSetting:addItem("Hack", "^FF0000JumpV2", "JumpSpeed")
GMSetting:addItem("Hack", "^FF0000ToggleJump modifiers", "ToggleJumpModifiers")
GMSetting:addItem("Hack", "^FF0000Scaffold V2", "ScaffoldV2")
GMSetting:addItem("Hack", "^FF0000BreakBlock", "EnableBreakBlocks")
GMSetting:addItem("Hack", "^FF0000Cannon", "CannonBtn")
GMSetting:addItem("Hack", "^FF0000TurnAll", "TurnAll")
GMSetting:addItem("Hack", "^FF0000SpawnCar", "SpawnCar")
GMSetting:addItem("Hack", "^FF0000SpawnNpc", "SpawnNpc")
GMSetting:addItem("Hack", "^FF0000Fov 1x", "Fov1x")
GMSetting:addItem("Hack", "^FF0000Fov 2x", "Fov2x")
GMSetting:addItem("Hack", "^FF0000Fov 3x", "Fov3x")
GMSetting:addItem("Hack", "^FF0000Scaffold", "Scaffold")

GMSetting:addTab("nt", "Effects")

GMSetting:addItem("Effects", "&$[ffca00ff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff-00ff00ff-ff0000ff-0000ffff-ff00ffff]$Rainbow - TYMAH OFFICIAL$&",
"RainbowName")
GMSetting:addItem("Effects", "^FF0000Red Name", "SetNameColor", "Red")
GMSetting:addItem("Effects", "^0000FFBlue Name", "SetNameColor", "Blue")
GMSetting:addItem("Effects", "^FFFFFFBlack Name", "SetNameColor", "Black")
GMSetting:addItem("Effects", "^FFFFFFWhite Name", "SetNameColor", "White")
GMSetting:addItem("Effects", "^00FF00Green Name", "SetNameColor", "Green")
GMSetting:addItem("Effects", "^FFFF00Yellow Name", "SetNameColor", "Yellow")
GMSetting:addItem("Effects", "^800080Purple Name", "SetNameColor", "Purple")
GMSetting:addItem("Effects", "^FF00FFPink Name", "SetNameColor", "Pink")
GMSetting:addItem("Effects", "^FFA500Orange Name", "SetNameColor", "Orange")
GMSetting:addItem("Effects", "^FFD700Gold Name", "SetNameColor", "Gold")
GMSetting:addItem("Effects", "^00FFFFCyan Name", "SetNameColor", "Cyan")

GMSetting:addTab("nt", "Credits")

local items = {
{text = "Creadit", key = "CreditsPM"},
{text = "Encryptor", key = "CreditsYT"},
{text = "Helper ^FF0000adons", key = "Invitation2"},
{text = "", key = "Invitation2"},
{text = "", key = "Invitation3"},
{text = "^FF0000TYMAH OFFICIAL", key = "u"},
{text = "^FF0000Kotuktoper", key = "a"},
{text = "^FF0000Zentex", key = "CreditsYT1"},
{text = "", key = "Invitation2"},
{text = "", key = "Invitation3"},
}

local function addVisibleItems(items)


local count = 0
for _, item in ipairs(items) do
if [Link] ~= "" then
GMSetting:addItem("Credits", [Link], [Link])
count = count + 1
if count == 3 then
GMSetting:addItem("Credits", "", "")
count = 0
end
end
end
end
addVisibleItems(items)

local on = 'on'
local off = 'off'
fun1 = off
local tpClickEnabled = false
local tpClickCallback = nil

function GMHelper:enableGM()
print("Initializing GM Panel...")
if GUIGMControlPanel then
print("GUIGMControlPanel already exists")
return
end

GUIGMControlPanel = [Link]("GUIGMControlPanel",
"[Link]")
if not GUIGMControlPanel then
[Link]("^FF0000Failed to load GUIGMControlPanel")
return
end
GUIGMControlPanel:hide()

GUIGMMain = [Link]("GUIGMMain", "[Link]")


if not GUIGMMain then
[Link]("^FF0000Failed to load GUIGMMain")
return
end
GUIGMMain:show()
print("GM Panel initialized successfully")
[Link](10, "^2196F3Welcome ^•^")
end

LuaTimer:scheduleTimer(function()
GMHelper:enableGM()
end, 5000)

function GMHelper:openInput(paramTexts, callBack)


if type(paramTexts) ~= "table" then
return
end
for _, paramText in pairs(paramTexts) do
if type(paramText) ~= "string" then
if isClient then
assert(true, "param need string type")
end
return
end
end
GUIGMControlPanel:openInput(paramTexts, callBack)
end

function GMHelper:callCommand(name, ...)


local func = self[name]
if type(func) == "function" then
func(self, ...)
end
local data = { name = name, params = { ... } }
end
local hue = 0

local function interpolateColor(hue)


local r, g, b = 0, 0, 0
if hue < 60 then
r, g, b = 1, hue / 60, 0
elseif hue < 120 then
r, g, b = (120 - hue) / 60, 1, 0
elseif hue < 180 then
r, g, b = 0, 1, (hue - 120) / 60
elseif hue < 240 then
r, g, b = 0, (240 - hue) / 60, 1
elseif hue < 300 then
r, g, b = (hue - 240) / 60, 0, 1
else
r, g, b = 1, 0, (360 - hue) / 60
end
return r, g, b, 1
end

local currentSelectedTab = nil

local timers = {}
local callbacks = {}
local states = {
TurnAll = false, Scaffold = false, Fov1xActive = false, Fov2xActive = false,
Fov3xActive = false,
KillAuraEnabled = false, NoFallDamageEnabled = false, espEnabled = false,
togHideNames = false,
togEnableBreakBlocks = false, isJumpSpeedActive = false, clickToDestroyEnabled
= false, tpClickEnabled = false,
AimbowEnabled = false, bowSpeedEnabled = false, BJF = false, Lol = false, BFAF
= false, JumpPad = false,
NoKnockbackEnabled = false, antiVoidEnabled = false, fastbreakEnabled = false,
A = false, a = false
}
local processedPlayers = {}
local predefinedColors = {
{1, 0, 0, 1}, {0, 1, 0, 1}, {0, 0, 1, 1}, {1, 1, 0, 1}, {1, 0, 1, 1}, {0, 1, 1,
1},
{0.5, 0.5, 0.5, 1}, {1, 0.5, 0, 1}, {0.5, 0, 0.5, 1}, {0, 0.5, 0.5, 1},
{0.7, 0.2, 0.2, 1}, {0.2, 0.7, 0.2, 1}, {0.2, 0.2, 0.7, 1}, {0.8, 0.6, 0.1, 1},
{0.6, 0.1, 0.8, 1}, {0.3, 0.8, 0.5, 1}
}
local colorIndex = 1
local void = nil
local originalPos = nil
local NoKnockbackTimer = nil
local lastPosition = nil
local lastHealth = nil
local KillAuraTimer = nil
local self = GMHelper
local BJFS = nil
local AIs = false
local timer = nil
local togRespawnInSamePlace = false
local respawnCallback = nil
local yaw = 0
local pitch = 0
local state12 = "off"
local timer2 = nil
local BtnHitBox = nil
local AlwiiProoa = nil
local btnFarAimBotg2 = nil
local Enabled = false
local FallDisChecker = nil
local originalBlocks = {}
local togHideNames = false
local togEnableBreakBlocks = false
local callbackFunction = nil
local stealTimer = nil
local tracer = nil
local presetJumpHeight = 2.0
local isEnabled = true
local bowTimer = nil
local currentNameColor = nil
local activeTimers = { turnAll = nil, scaffold = nil }
local clickToDestroyCallback = nil
local aimBotLastToggle = 0
local aimBotDebounce = false

local function togglePref(key, text, enabled, onAction, offAction)


local val = [Link](key, false)
val = not val
[Link](key, val)
states[key] = val
text:SetBackgroundColor(val and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
if val then
onAction()
[Link](key:gsub("Enabled", ""), 2000, false, [Link])
else
offAction()
[Link](key:gsub("Enabled", ""), 2000, false, [Link])
end
end

local function safeCancelTimer(id)


if timers[id] then
LuaTimer:cancel(timers[id])
timers[id] = nil
end
end

local function safeUnregisterCallback(id)


if callbacks[id] then
local event = callbacks[id].event
local cb = callbacks[id].cb
if event and cb then
event:unregisterCallBack(cb)
end
callbacks[id] = nil
end
end
function GMHelper:AirJump(text)
togglePref("AirJumpEnabled", text, [Link], function()
[Link]("EnableDoubleJumps", true)
[Link] = 100000
[Link] = VectorUtil.newVector3(0, 6.35, 0)
end, function()
[Link]("EnableDoubleJumps", false)
[Link] = 1
[Link] = VectorUtil.newVector3(0, 0, 0)
end)
a = [Link]
end

function GMHelper:Text()
local GUI = GUIManager:createGUIWindow([Link], "GUIRoot-Text")
GUI:SetVisible(true)

local function Update()


local HUD = ""
GUI:SetText(HUD)

hue = (hue + 0.5) % 360


local r, g, b, a = interpolateColor(hue)
pcall(function()
GUI:SetTextColor({ r, g, b, 0.6 })
end)
end

GUI:SetWidth({ 0, 556 })
GUI:SetHeight({ 0, 30 })
GUI:SetXPosition({ 0, 567 })
GUI:SetBordered(true)
GUI:SetYPosition({ 0, 110 })
[Link]():GetRootWindow():AddChildWindow(GUI)

local scale = 0.5


local scaleDirection = 0.7
local scaleSpeed = 0.05
LuaTimer:scheduleTimer(function()
scale = scale + (scaleDirection * scaleSpeed)
if scale >= 0.8 then
scaleDirection = -1
elseif scale <= 0.7 then
scaleDirection = 0.7
end
GUI:SetScale(scale, scale, 0.7)
end, 40, -1)

LuaTimer:scheduleTimer(Update, 100, -1)


end

function GMHelper:JumpHeight(text)
togglePref("JumpHeightEnabled", text, isEnabled, function()
local player = PlayerManager:getClientPlayer()
if player and [Link] then
[Link]:setFloatProperty("JumpHeight", presetJumpHeight)
self:AdjustJumpHeight(player, text)
self:LogJumpHeight(player)
end
end, function() end)
end

function GMHelper:AdjustJumpHeight(player, text)


end

function GMHelper:LogJumpHeight(player)
end

function GMHelper:FastBreak(text)
togglePref("FastBreakEnabled", text, fastbreakEnabled, function()
[Link](66):setNeedRender(false)
[Link](253):setNeedRender(false)
for blockId = 1, 40000 do
local block = [Link](blockId)
if block then
block:setHardness(0)
end
end
end, function()
[Link](66):setNeedRender(true)
[Link](253):setNeedRender(true)
for blockId = 1, 40000 do
local block = [Link](blockId)
if block then
block:setHardness(1)
end
end
end)
fastbreakEnabled = [Link]
end

function GMHelper:FreeCamera(text)
togglePref("FreeCamEnabled", text, A, function()
local operateWindow = GUIManager:getWindowByName("Main-HideAndSeek-
Operate")
if operateWindow then operateWindow:SetVisible(true) end
end, function()
local operateWindow = GUIManager:getWindowByName("Main-HideAndSeek-
Operate")
if operateWindow then operateWindow:SetVisible(false) end
end)
A = [Link]
end

function GMHelper:Speed(text)
togglePref("SpeedEnabled", text, A, function()
local player = PlayerManager:getClientPlayer()
if player and [Link] then
[Link]:setSpeedAdditionLevel(150000) end
end, function()
local player = PlayerManager:getClientPlayer()
if player and [Link] then [Link]:setSpeedAdditionLevel(1) end
end)
A = [Link]
end

function GMHelper:QuickPlaceBlock()
GMHelper:openInput({ "" }, function(Number)
[Link]("QuicklyBuildBlockNum", Number)
end)
end

function GMHelper:Blink(text)
togglePref("BlinkEnabled", text, A, function()
[Link]("SyncClientPositionToServer", false)
end, function()
[Link]("SyncClientPositionToServer", true)
end)
A = [Link]
end

function GMHelper:CannonBtn(text)
togglePref("CannonBtnEnabled", text, A, function()
local canon = GUIManager:getWindowByName("Main-Cannon")
if canon then
canon:SetVisible(true)
local scale = 0.5
canon:SetScale(VectorUtil.newVector3(scale, scale, scale))
LuaTimer:scheduleTicker(function()
if scale <= 1 then
scale = scale + 0.05
else
scale = scale - 0.0125
end
canon:SetScale(VectorUtil.newVector3(scale, scale, scale))
end, 1, 15)
canon:registerEvent([Link], function()
local clientPlayer = PlayerManager:getClientPlayer()
if clientPlayer then
local pitch = [Link]:getPitch()
local yaw = [Link]:getYaw()

local pitchRad = pitch * [Link] / 180


local yawRad = yaw * -[Link] / 180
local x = [Link](pitchRad) * [Link](yawRad) * 3
local y = -[Link](pitchRad) * 4
local z = [Link](pitchRad) * [Link](yawRad) * 3
local newPos = VectorUtil.newVector3(x, y, z)
[Link]:setVelocity(newPos)
[Link](313)
end
end)
end
end, function()
local canon = GUIManager:getWindowByName("Main-Cannon")
if canon then canon:SetVisible(false) end
end)
A = [Link]
end

function GMHelper:AntiVoid(text)
togglePref("AntiVoidEnabled", text, antiVoidEnabled, function()
if not void then
void = LuaTimer:scheduleTimer(function()
local clientPlayer = PlayerManager:getClientPlayer().Player
if not clientPlayer then return end
local fallDistance = [Link]

if not originalPos and fallDistance == 0 then


originalPos = clientPlayer:getPosition()
elseif fallDistance >= 15 then
clientPlayer:setPosition(originalPos)
[Link] = 0
end
end, 100, -1)
end
end, function()
safeCancelTimer("void")
void = nil
originalPos = nil
end)
antiVoidEnabled = [Link]
end

local function setPosTest(targetPos)


if not targetPos or targetPos.y < 10 then return end

local clientPlayer = PlayerManager:getClientPlayer().Player


if not clientPlayer then return end
local myPos = clientPlayer:getPosition()
local disTp = { x = targetPos.x - myPos.x, z = targetPos.z - myPos.z }

if myPos.y < 165 then


myPos.y = 165
end

if [Link](disTp.x) > 18 then


if disTp.x > 0 then
myPos.x = myPos.x + 18
else
myPos.x = myPos.x - 18
end
clientPlayer:setPosition(myPos)
LuaTimer:scheduleTimer(function()
setPosTest(targetPos)
end, 100, 1)
return
end

if [Link](disTp.z) > 18 then


if disTp.z > 0 then
myPos.z = myPos.z + 18
else
myPos.z = myPos.z - 18
end
clientPlayer:setPosition(myPos)
LuaTimer:scheduleTimer(function()
setPosTest(targetPos)
end, 100, 1)
return
end

local function checkBlock(pos)


while EngineWorld:getBlockId(pos) ~= [Link] do
pos.y = pos.y + 1
if pos.y > 256 then break end
end
return pos
end

targetPos = checkBlock(targetPos)
clientPlayer:setPosition(targetPos)

local player = PlayerManager:getClientPlayer().Player


if player then
player:setAllowFlying(false)
player:setFlying(false)
[Link] = yaw
[Link] = pitch
end
end

function GMHelper:UnDeath(text)
togglePref("UnDeathEnabled", text, togRespawnInSamePlace, function()
respawnCallback = function(deadPlayer)
if deadPlayer == [Link]():getPlatformUserId() then
LuaTimer:scheduleTimer(function()
[Link]("SyncClientPositionToServer", true)
end, 1, 1000)

local playerPosition =
PlayerManager:getClientPlayer().Player:getPosition()
yaw = PlayerManager:getClientPlayer().Player:getYaw()
pitch = PlayerManager:getClientPlayer().Player:getPitch()

LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()

local player = PlayerManager:getClientPlayer().Player


if player then
player:setAllowFlying(true)
player:setFlying(true)
end

LuaTimer:schedule(function()
setPosTest(VectorUtil.newVector3(playerPosition.x,
playerPosition.y, playerPosition.z))
end, 400)
end, 1, 300)

[Link]():showMainControl()
end
end

[Link]:registerCallBack(respawnCallback)
end, function()
safeUnregisterCallback("respawn")
respawnCallback = nil
end)
togRespawnInSamePlace = [Link]
end

function GMHelper:NoKnockBack(text)
togglePref("NoKnockBackEnabled", text, NoKnockbackEnabled, function()
lastPosition = nil
lastHealth = nil

NoKnockbackTimer = LuaTimer:scheduleTimer(function()
local player = PlayerManager:getClientPlayer()
if not player or not [Link] then
print("Player object not found!")
return
end

local currentHealth = [Link]:getHealth()


local currentPosition = [Link]:getPosition()

if lastHealth and currentHealth < lastHealth then


if lastPosition then
[Link]:setPosition(lastPosition)
[Link]("^00FF00Knockback successfully")
end
end

lastHealth = currentHealth
lastPosition = currentPosition
end, 10, -1)
end, function()
safeCancelTimer("NoKnockbackTimer")
NoKnockbackTimer = nil
lastPosition = nil
lastHealth = nil
end)
NoKnockbackEnabled = [Link]
end

[Link] = nil
[Link] = nil
[Link] = 5

function GMHelper:NoFallDamg(text)
togglePref("NoFallDamgEnabled", text, [Link], function()
local player = PlayerManager:getClientPlayer().Player
if not player then return end
[Link] = false

[Link] = LuaTimer:scheduleTimer(function()
local currentY = player:getPosition().y

if not [Link] then


[Link] = currentY
end

[Link] = currentY < [Link] - 1.0


[Link] = currentY
end, 100, -1)

LuaTimer:scheduleTimer(function()
local fallDistance = [Link]

if fallDistance > 3 then


local playerPos = player:getPosition()
local blockFound = false
local blockBeneath = nil

for i = 1, [Link] do
local blockBelow = VectorUtil.newVector3(playerPos.x,
playerPos.y - i, playerPos.z)
if EngineWorld:getBlockId(blockBelow) ~= 0 then
blockFound = true
blockBeneath = blockBelow
break
end
end

if blockFound then
local currentPos = player:getPosition()
[Link] = true

if currentPos.y <= blockBeneath.y + 2.50 then


player:setPosition(VectorUtil.newVector3(currentPos.x,
currentPos.y + 1, currentPos.z))
EngineWorld:setBlock(VectorUtil.newVector3(currentPos.x,
currentPos.y - 0.1, currentPos.z), 8)

EngineWorld:setBlockToAir(VectorUtil.newVector3(currentPos.x, currentPos.y - 0.1,


currentPos.z))

[Link] = false
end
end
end
end, 0.5, -1)
end, function()
safeCancelTimer("noFallDamageTimer")
[Link] = nil
local player = PlayerManager:getClientPlayer().Player
if player then [Link] = false end
end)
end

function GMHelper:SpawnWater(text)
togglePref("SpawnWaterEnabled", text, Enabled, function()
local calc = VectorUtil.newVector3
local waterBlockId = 9
local waterCubeSize = 1
local checkRange = 5

safeCancelTimer("FallDisChecker")

FallDisChecker = LuaTimer:scheduleTimer(function()
local player = PlayerManager:getClientPlayer()
if not player or [Link] <= 3 then return end

for i = 1, checkRange do
local blockBelow = calc(player:getPosition().x,
player:getPosition().y - i, player:getPosition().z)
if EngineWorld:getBlockId(blockBelow) ~= 0 then
for x = -waterCubeSize, waterCubeSize do
for z = -waterCubeSize, waterCubeSize do
local currentPos = calc(blockBelow.x + x, blockBelow.y,
blockBelow.z + z)
local key = tostring(currentPos.x) .. "," ..
tostring(currentPos.y) .. "," .. tostring(currentPos.z)
local currentBlockId =
EngineWorld:getBlockId(currentPos)

if not originalBlocks[key] then


originalBlocks[key] = currentBlockId
end

EngineWorld:setBlock(currentPos, waterBlockId)
end
end
return
end
end
end, 0.5, -1)
timers["FallDisChecker"] = FallDisChecker
end, function()
for position, blockId in pairs(originalBlocks) do
local coords = {}
for coord in position:gmatch("[^,]+") do
[Link](coords, tonumber(coord))
end
if #coords == 3 then
local pos = VectorUtil.newVector3(coords[1], coords[2], coords[3])
EngineWorld:setBlock(pos, blockId)
end
end
originalBlocks = {}
safeCancelTimer("FallDisChecker")
FallDisChecker = nil
end)
Enabled = [Link]
end

function GMHelper:KillAura(text)
togglePref("KillAuraEnabled", text, [Link], function()
KillAuraTimer = LuaTimer:scheduleTimer(function()
local me = PlayerManager:getClientPlayer()
if not me or not [Link] then
print("Error: Client player not found")
return
end

local myPos = [Link]:getPosition()


local myTeamId = me:getTeamId()
local players = PlayerManager:getPlayers()
local closestDistance = [Link]
local closestPlayer = nil
for _, player in pairs(players) do
if player ~= me and [Link] and player:getTeamId() ~=
myTeamId then
local playerPos = [Link]:getPosition()
local distance = MathUtil:distanceSquare2d(playerPos, myPos)
if distance <= 75 then
closestDistance = distance
closestPlayer = player
end
end
end
if closestPlayer then
local entity = [Link]
if entity then
[Link] = 5
[Link] = 5
[Link] = 5
[Link]():handleTouchClick(800, 360)
[Link]("^00FF00PlayerInfo: " ..
(closestPlayer:getName() or "Unknown"))
end
end
end, 100, -1)
timers["KillAuraTimer"] = KillAuraTimer
end, function()
safeCancelTimer("KillAuraTimer")
KillAuraTimer = nil
local players = PlayerManager:getPlayers()
for _, player in pairs(players) do
if [Link] then
[Link] = 0.1
[Link] = 0.1
[Link] = 0.1
end
end
end)
end

function GMHelper:AirSpeed(text)
togglePref("AirSpeedEnabled", text, AirSpeed, function()
[Link]:registerCallBack(respa)
end, function()
[Link]:registerCallBack(norespa)
end)
end

function GMHelper:AutoRespawn(text)
togglePref("AutoRespawnEnabled", text, togRespawnInSamePlace, function()
local deathPosition = nil

local function setPositionWithAirFall()


if deathPosition then
local newY = 165
local targetPos = VectorUtil.newVector3(deathPosition.x, newY,
deathPosition.z)
local clientPlayer = PlayerManager:getClientPlayer().Player
if clientPlayer then
clientPlayer:setPosition(targetPos)
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
[Link] = [Link]
[Link] = [Link]
end
end
end

respawnCallback = function(deadPlayer)
if deadPlayer == [Link]():getPlatformUserId() then
local player = PlayerManager:getClientPlayer().Player
deathPosition = {
x = player:getPosition().x,
y = player:getPosition().y,
z = player:getPosition().z,
yaw = player:getYaw(),
pitch = player:getPitch()
}

LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
LuaTimer:schedule(function()
setPositionWithAirFall()
end, 400)
end, 1, 300)

[Link]():showMainControl()
[Link]("Respawning player...")
end
end

[Link]:registerCallBack(respawnCallback)
end, function()
safeUnregisterCallback("respawn")
respawnCallback = nil
end)
togRespawnInSamePlace = [Link]
end

function GMHelper:AutoRespawnV2(text)
togglePref("AutoRespawnV2Enabled", text, togRespawnInSamePlace, function()
local deathPosition = nil

local function setPositionWithAirFall()


if deathPosition then
local newY = 165
local targetPos = VectorUtil.newVector3(deathPosition.x, newY,
deathPosition.z)
local clientPlayer = PlayerManager:getClientPlayer().Player
if clientPlayer then
clientPlayer:setPosition(targetPos)
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
[Link] = [Link]
[Link] = [Link]
end
end
end

respawnCallback = function(deadPlayer)
if deadPlayer == [Link]():getPlatformUserId() then
local player = PlayerManager:getClientPlayer().Player
deathPosition = {
x = player:getPosition().x,
y = player:getPosition().y,
z = player:getPosition().z,
yaw = player:getYaw(),
pitch = player:getPitch()
}
LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
LuaTimer:schedule(function()
setPositionWithAirFall()
end, 400)
end, 1, 300)

[Link]():showMainControl()
[Link]("&$[ffca00ff-fbd33fff-cad2ceff-23b8feff-
677dffff-ac61ffff-fd15ffff]$Respawning player...$&")
end
end

[Link]:registerCallBack(respawnCallback)
end, function()
safeUnregisterCallback("respawn")
respawnCallback = nil
end)
togRespawnInSamePlace = states.AutoRespawnV2Enabled
end

function GMHelper:ItemThief(text)
togglePref("ItemThiefEnabled", text, A, function()
stealTimer = LuaTimer:scheduleTimer(function()
local clientPos = PlayerManager:getClientPlayer().Player:getPosition()
local items = EntityCache:getAllEntity()
local closestItem = nil
local minDistance = [Link]

for _, entity in pairs(items) do


if [Link] == [Link] then
local itemPos = [Link]:getPosition()
local dx = clientPos.x - itemPos.x
local dz = clientPos.z - itemPos.z
local distance = [Link](dx * dx + dz * dz)

if distance < minDistance then


closestItem = entity
minDistance = distance
end
end
end

if closestItem then
local itemPos = [Link]:getPosition()
local speed = 0.5
local directionX = itemPos.x - clientPos.x
local directionZ = itemPos.z - clientPos.z
local distance = [Link](directionX * directionX + directionZ *
directionZ)

if distance > 0 then


directionX = directionX / distance
directionZ = directionZ / distance
end

if distance > speed then


clientPos.x = clientPos.x + directionX * speed
clientPos.z = clientPos.z + directionZ * speed
else
clientPos.x = itemPos.x
clientPos.z = itemPos.z
end

PlayerManager:getClientPlayer().Player:setPosition(clientPos)
[Link]("Gitting items...")
end
end, 1, -1)
timers["stealTimer"] = stealTimer
end, function()
safeCancelTimer("stealTimer")
stealTimer = nil
end)
A = [Link]
end

function GMHelper:Tracer(text)
togglePref("TracerEnabled", text, true, function()
tracer = LuaTimer:scheduleTimer(function()
local me = PlayerManager:getClientPlayer()
if not me then return end
[Link]:deleteAllGuideArrow()
for _, c_player in pairs(PlayerManager:getPlayers()) do
if c_player ~= me then
[Link]:addGuideArrow(c_player:getPosition())
end
end
end, 500, -1)
timers["tracer"] = tracer
end, function()
safeCancelTimer("tracer")
tracer = nil
local me = PlayerManager:getClientPlayer()
if me then [Link]:deleteAllGuideArrow() end
end)
end

function GMHelper:SetNameColor(color, text)


local pickColor = {
Red = "FF0000", Blue = "0000FF", Pink = "FF00FF", Cyan = "00FFFF",
Green = "00FF00", Purple = "9600FF", Yellow = "FFFF00", Orange = "FFAF00",
Gold = "FFD700", Black = "000000", White = "FFFFFF"
}
local playerName = PlayerManager:getClientPlayer().Player:getEntityName()
local player = PlayerManager:getClientPlayer().Player
if currentNameColor == color then
player:setShowName(playerName)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
currentNameColor = nil
[Link](color .. " Name", 2000, false, [Link])
else
player:setShowName("▢FF"..pickColor[color]..playerName)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
currentNameColor = color
[Link](color .. " Name", 2000, false, [Link])
end
end

function GMHelper:HitBox(text)
togglePref("HitBoxEnabled", text, a, function()
local players = PlayerManager:getPlayers()
local me = PlayerManager:getClientPlayer()

for _, player in ipairs(players) do


if player ~= me and [Link] then
[Link] = 8
[Link] = 8
[Link] = 8
end
end
end, function()
local players = PlayerManager:getPlayers()
local me = PlayerManager:getClientPlayer()

for _, player in ipairs(players) do


if player ~= me and [Link] then
[Link] = 2
[Link] = 2
[Link] = 2
end
end
end)
a = [Link]
end

function GMHelper:BigPlayers(text)
togglePref("BigPlayersEnabled", text, true, function()
local me = PlayerManager:getClientPlayer()
local players = PlayerManager:getPlayers()

for _, player in pairs(players) do


if player ~= me then
player:setScale(5)
end
end
end, function()
local me = PlayerManager:getClientPlayer()
local players = PlayerManager:getPlayers()

for _, player in pairs(players) do


if player ~= me then
player:setScale(1)
end
end
end)
end

function GMHelper:Fly(text)
togglePref("FlyEnabled", text, a, function()
[Link]("EnableDoubleJumps", true)
[Link] = 100000
end, function()
[Link]("EnableDoubleJumps", false)
[Link] = 1
end)
a = [Link]
end

function GMHelper:FastJump(text)
togglePref("FastJumpEnabled", text, A, function()
[Link]("EnableDoubleJumps", true)
local player = PlayerManager:getClientPlayer().Player
if player then player.m_keepJumping = false end
end, function()
local player = PlayerManager:getClientPlayer().Player
if player then player.m_keepJumping = true end
end)
A = [Link]
end

function GMHelper:HidePlayerName(text)
togglePref("HidePlayerNameEnabled", text, togHideNames, function()
[Link]("RenderHeadText", false)
end, function()
[Link]("RenderHeadText", true)
end)
togHideNames = [Link]
end

function GMHelper:DeathChangePlace(text)
togglePref("DeathChangeEnabled", text, togRespawnInSamePlace, function()
local predefinedPos = VectorUtil.newVector3(100, 200, 100)

respawnCallback = function(deadPlayer)
if deadPlayer == [Link]():getPlatformUserId() then
local playerPosition =
PlayerManager:getClientPlayer().Player:getPosition()
yaw = PlayerManager:getClientPlayer().Player:getYaw()
pitch = PlayerManager:getClientPlayer().Player:getPitch()

LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
local player = PlayerManager:getClientPlayer().Player
if player then
player:setAllowFlying(true)
player:setFlying(true)
end

LuaTimer:schedule(function()
if predefinedPos then
setPosTest(predefinedPos)
else
setPosTest(VectorUtil.newVector3(playerPosition.x,
playerPosition.y, playerPosition.z))
end
end, 400)
end, 1, 300)

[Link]():showMainControl()
[Link]("Respawning player...")
end
end
[Link]:registerCallBack(respawnCallback)
end, function()
safeUnregisterCallback("respawn")
respawnCallback = nil
end)
togRespawnInSamePlace = [Link]
end

function GMHelper:Aimbot(text)
local currentTime = [Link]()
if currentTime - aimBotLastToggle < 0.5 then
[Link]("Подождите перед повторным переключением AimBot", 1500,
false, [Link])
return
end
aimBotLastToggle = currentTime
aimBotDebounce = true

togglePref("AimbotEnabled", text, AIs, function()


timer = LuaTimer:scheduleTimer(function()
if not AIs then return end
local me = PlayerManager:getClientPlayer()
if not me then return end
local myPos = [Link]:getPosition()
local players = PlayerManager:getPlayers()
local closestDistance = [Link]
local closestPlayer = nil
for _, player in pairs(players) do
if player ~= me then
local playerPos = player:getPosition()
local distance = MathUtil:distanceSquare2d(playerPos, myPos)
if distance < closestDistance then
closestDistance = distance
closestPlayer = player
end
end
end
if closestPlayer ~= nil and closestDistance < 25 then
local health = [Link](closestPlayer:getHealth(), 50.0)
local locationString = [Link]("^FF00EEPlayers Hp: %.1f ❤",
health)
[Link](locationString)
local camera = [Link]():getMainCamera()
local pos = camera:getPosition()
local dir = VectorUtil.sub3(closestPlayer:getPosition(), pos)
local yaw = math.atan2(dir.x, dir.z) / [Link] * -180
local calculate = [Link](dir.x * dir.x + dir.z * dir.z)
local pitch = -math.atan2(dir.y, calculate) / [Link] * 180
[Link] = yaw or 0
[Link] = pitch or 0
end
end, 50, -1)
timers["timer"] = timer
end, function()
safeCancelTimer("timer")
timer = nil
end)
AIs = [Link]
aimBotDebounce = false
end

function GMHelper:Reach(text)
togglePref("ReachEnabled", text, A, function()
[Link]("BlockReachDistance", 999)
[Link]("EntityReachDistance", 9999)
end, function()
[Link]("BlockReachDistance", 6.5)
[Link]("EntityReachDistance", 9999)
end)
A = [Link]
end

function GMHelper:TpClick(text)
tpClickEnabled = not tpClickEnabled
[Link]("TpClickEnabled", tpClickEnabled)
local function issue(event)
if not tpClickEnabled or not event then return end
local VIP = PlayerManager:getClientPlayer()
if not VIP or not [Link] then return end
local newPos = VectorUtil.newVector3(event.x + 0.4, event.y + 3, event.z +
0.4)
[Link]:setPosition(newPos)
end

if tpClickEnabled then
tpClickCallback = issue
[Link]:registerCallBack(tpClickCallback)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("TpClick", 2000, false, [Link])
else
safeUnregisterCallback("tpClick")
tpClickCallback = nil
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("TpClick", 2000, false, [Link])
end
end

function GMHelper:WWE_Camera(text)
togglePref("WWE_CameraEnabled", text, A, function()
[Link]("IsSeparateCamera", true)
end, function()
[Link]("IsSeparateCamera", false)
end)
A = states.WWE_CameraEnabled
end

function GMHelper:BowSpeed(text)
bowSpeedEnabled = not bowSpeedEnabled
[Link]("BowSpeedEnabled", bowSpeedEnabled)
if bowSpeedEnabled then
[Link]("BowPullingSpeedMultiplier", 1000)
[Link]("BowPullingFOVMultiplier", 0)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("BowSpeed", 2000, false, [Link])
else
[Link]("BowPullingSpeedMultiplier", 1.0)
[Link]("BowPullingFOVMultiplier", 1.0)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("BowSpeed", 2000, false, [Link])
end
end
local farAimBotLastToggle = 0
local farAimBotEnabledState = false
local farAimBotLastTarget = nil
local farAimBotLastToastTime = 0
local farAimBotToastInterval = 500
function GMHelper:btnFarAimBot(text)
local farAimBotEnabled = not [Link]("btnFarAimBotEnabled",
false)
[Link]("btnFarAimBotEnabled", farAimBotEnabled)
text:SetBackgroundColor(farAimBotEnabled and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
if not btnFarAimBotg2 then
btnFarAimBotg2 = GUIManager:createGUIWindow([Link],
tostring([Link](1, 999e9)))
btnFarAimBotg2:SetHorizontalAlignment([Link])
btnFarAimBotg2:SetVerticalAlignment([Link])
btnFarAimBotg2:SetHeight({ 0, 60 })
btnFarAimBotg2:SetWidth({ 0, 90 })
btnFarAimBotg2:SetYPosition({ 0, -368 })
btnFarAimBotg2:SetXPosition({ 0, -666 })
btnFarAimBotg2:SetLevel(1)
pcall(function()
btnFarAimBotg2:SetTextColor({ 0.6, 0, 0, 1 })
end)
btnFarAimBotg2:registerEvent([Link], function()
btnFarAimBotfunction()
end)
[Link]():GetRootWindow():AddChildWindow(btnFarAimBotg2)
btnFarAimBotg2:SetBackgroundColor({ 0, 0, 0, 0.6 })
btnFarAimBotg2:SetVisible(true)
btnFarAimBotg2:SetText("AimBot")
print("Far AimBot кнопка создана")
end

[Link]("Far AimBot " .. (farAimBotEnabled and "включён" or


"выключен"), 2000, false, farAimBotEnabled and [Link] or [Link])
end

function btnFarAimBotfunction()
local currentTime = [Link]()
if currentTime - farAimBotLastToggle < 1.0 then
[Link]("Подождите перед повторным переключением Far AimBot",
1500, false, [Link])
return
end
farAimBotLastToggle = currentTime
farAimBotEnabledState = not farAimBotEnabledState
[Link]("btnFarAimBotEnabled", farAimBotEnabledState)
BFAF = farAimBotEnabledState

pcall(function()
btnFarAimBotg2:SetTextColor(farAimBotEnabledState and {0, 1, 0, 1} or {0.6,
0, 0, 1})
end)
btnFarAimBotg2:SetText(farAimBotEnabledState and "AimBot ON" or "AimBot OFF")
if farAimBotEnabledState then
if timers["farAimbot"] then
safeCancelTimer("farAimbot")
end
timers["farAimbot"] = LuaTimer:scheduleTimer(function()
if not farAimBotEnabledState then
safeCancelTimer("farAimbot")
return
end
local me = PlayerManager:getClientPlayer()
if not me or not [Link] then
return
end
local myPos = [Link]:getPosition()
if not myPos then
return
end
local players = PlayerManager:getPlayers()
if not players or #players <= 1 then
farAimBotLastTarget = nil
return
end
local closestDistance = [Link]
local closestPlayer = nil
for _, player in pairs(players) do
if player ~= me and [Link] then
local playerPos = player:getPosition()
if playerPos then
local distance = MathUtil:distanceSquare2d(playerPos,
myPos)
if distance < closestDistance and distance < 1600 then
closestDistance = distance
closestPlayer = player
end
end
end
end
if closestPlayer then
print(" Цель найдена: " .. (closestPlayer:getName() or
"Unknown") .. " на расстоянии " .. [Link](closestDistance))
local currentTimeMs = [Link]() * 1000
local shouldShowToast = false
if closestPlayer ~= farAimBotLastTarget then
farAimBotLastTarget = closestPlayer
shouldShowToast = true
elseif currentTimeMs - farAimBotLastToastTime >
farAimBotToastInterval then
shouldShowToast = true
end
if shouldShowToast then
local health = [Link](closestPlayer:getHealth() or 0, 50.0)
local playerName = closestPlayer:getName() or "Unknown"
local locationString = [Link]("^00FF00%s ^FF0000| %.1f
♥️
", playerName, health)
[Link](locationString, 1500)
farAimBotLastToastTime = currentTimeMs
end
local camera = [Link]():getMainCamera()
if camera then
local camPos = camera:getPosition()
if camPos then
local targetPos = closestPlayer:getPosition()
if targetPos then
local dir = VectorUtil.sub3(targetPos, camPos)
local yaw = math.atan2(dir.x, dir.z) / [Link] * -180
local distXZ = [Link](dir.x * dir.x + dir.z * dir.z)
local pitch = -math.atan2(dir.y, distXZ) / [Link] *
180
[Link] = yaw
[Link] = pitch
[Link]():handleTouchClick(800, 360)
end
end
end
else
farAimBotLastTarget = nil
print("Цели нет поблизости")
end
end, 50, -1)
[Link]("AimBot", 2000, false, [Link])
else
print("AimBot")
safeCancelTimer("farAimbot")
farAimBotLastTarget = nil
[Link]("AimBot", 2000, false, [Link])
end
end

function GMHelper:Respawn(text)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
PacketSender:getSender():sendRebirth()
end

function GMHelper:btnJetPack(text)
local jetPackBtnEnabled = not [Link]("JetPackEnabled",
false)
[Link]("JetPackEnabled", jetPackBtnEnabled)
local btnJetpackg2 = GUIManager:createGUIWindow([Link],
tostring([Link](1, 999e9)))
btnJetpackg2:SetHorizontalAlignment([Link])
btnJetpackg2:SetVerticalAlignment([Link])
btnJetpackg2:SetHeight({ 0, 60 })
btnJetpackg2:SetWidth({ 0, 180 })
btnJetpackg2:SetYPosition({ 0, -560 })
btnJetpackg2:SetXPosition({ 0, -550 })
btnJetpackg2:SetLevel(1)
pcall(function()
btnJetpackg2:SetTextColor({ 0.6, 0, 0, 1 })
end)
btnJetpackg2:registerEvent([Link], function()
btnJetpackfunction()
end)
[Link]():GetRootWindow():AddChildWindow(btnJetpackg2)
btnJetpackg2:SetBackgroundColor({ 0, 0, 0, 0.6 })
text:SetBackgroundColor(jetPackBtnEnabled and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
btnJetpackg2:SetVisible(true)
btnJetpackg2:SetText("JetPack")
[Link]("JetPack Button", 2000, false, jetPackBtnEnabled and
[Link] or [Link])
end

function btnJetpackfunction()
BJF = not BJF
if BJF then
local btnJetpackg2 = GUIManager:getWindowByName("btnJetpackg2")
if btnJetpackg2 then pcall(function() btnJetpackg2:SetTextColor({ 0, 255,
0, 0.6 }) end) end
local JetPack = true
BJFS = LuaTimer:scheduleTimer(function()
local yaw=PlayerManager:getClientPlayer().Player:getYaw()
local pitch = PlayerManager:getClientPlayer().Player:getPitch()
local yawRadians = [Link](yaw)
local pitchRadians = [Link](pitch)
local speed = 2.1
local x = -speed * [Link](pitchRadians) * [Link](yawRadians)
local y = -speed * [Link](pitchRadians)
local z = speed * [Link](pitchRadians) * [Link](yawRadians)
local velocity = VectorUtil.newVector3(x,y,z)
PlayerManager:getClientPlayer().Player:setVelocity(velocity)
end, 15, 200000)
timers["BJFS"] = BJFS
else
local btnJetpackg2 = GUIManager:getWindowByName("btnJetpackg2")
if btnJetpackg2 then pcall(function() btnJetpackg2:SetTextColor({ 0.6, 0,
0, 1 }) end) end
safeCancelTimer("BJFS")
BJFS = nil
end
end

function GMHelper:BtnHitBox(text)
local hitBoxBtnEnabled = not [Link]("BtnHitBoxEnabled",
false)
[Link]("BtnHitBoxEnabled", hitBoxBtnEnabled)
BtnHitBox = GUIManager:createGUIWindow([Link], tostring([Link](1,
999e9)))
BtnHitBox:SetHorizontalAlignment([Link])
BtnHitBox:SetVerticalAlignment([Link])
BtnHitBox:SetHeight({ 0, 60 })
BtnHitBox:SetWidth({ 0, 180 })
BtnHitBox:SetYPosition({ 0, -430 })
BtnHitBox:SetXPosition({ 0, -550 })
BtnHitBox:SetLevel(1)
pcall(function()
BtnHitBox:SetTextColor({ 0.6, 0, 0, 1 })
end)
BtnHitBox:registerEvent([Link], function()
btnHitFunction()
end)
[Link]():GetRootWindow():AddChildWindow(BtnHitBox)
BtnHitBox:SetBackgroundColor({ 0, 0, 0, 0.6 })
text:SetBackgroundColor(hitBoxBtnEnabled and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
BtnHitBox:SetVisible(true)
BtnHitBox:SetText("Hitbox")
[Link]("HitBox Button", 2000, false, hitBoxBtnEnabled and
[Link] or [Link])
end

function btnHitFunction()
Lol = not Lol
local players = PlayerManager:getPlayers()
local autoHeight, autoWidth, autoLength

if Lol then
autoHeight = 5
autoWidth = 5
autoLength = 5
pcall(function()
BtnHitBox:SetTextColor({0, 255, 0, 0.6})
end)
else
autoHeight = 1
autoWidth = 1
autoLength = 1
pcall(function()
BtnHitBox:SetTextColor({0.6, 0, 0, 1})
end)
end

for _, player in ipairs(players) do


local entity = [Link]
if player ~= PlayerManager:getClientPlayer() then
[Link] = autoHeight
[Link] = autoWidth
[Link] = autoLength
end
end
end

function GMHelper:equipWings(type, text)


local player = PlayerManager:getClientPlayer().Player
if player then
player.m_outLooksChanged = true
player.m_wingId = type
end
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
end

function GMHelper:AimBow(text)
togglePref("AimBowEnabled", text, AimbowEnabled, function()
bowTimer = LuaTimer:scheduleTimer(function()
local clientPlayer = PlayerManager:getClientPlayer().Player
if not clientPlayer then return end
local heldItemId = clientPlayer:getHeldItemId()

if heldItemId == 261 then


local players = PlayerManager:getPlayers()
local closestPlayer = nil
local closestDistance = [Link]
local myTeamId = clientPlayer:getTeamId()

for _, targetPlayer in ipairs(players) do


if targetPlayer ~= clientPlayer and targetPlayer:getTeamId() ~=
myTeamId then
local distance =
MathUtil:distanceSquare2d(targetPlayer:getPosition(), clientPlayer:getPosition())

if distance < closestDistance then


closestDistance = distance
closestPlayer = targetPlayer
end
end
end

if closestPlayer then
local dir = VectorUtil.sub3(closestPlayer:getPosition(),
clientPlayer:getPosition())
local yaw = math.atan2(dir.x, dir.z) * -180 / [Link]
local distance = [Link](dir.x * dir.x + dir.z * dir.z)
local pitch = -math.atan2(dir.y, distance) * 180 / [Link]

[Link] = yaw
[Link] = pitch
end
end
end, 0.1, -1)
timers["bowTimer"] = bowTimer
end, function()
safeCancelTimer("bowTimer")
bowTimer = nil
end)
AimbowEnabled = [Link]
end

function GMHelper:NoClipOP(text)
togglePref("NoClipOPEnabled", text, A, function()
for blockId = 3, 133 do
local block = [Link](blockId)
if block then
block:setBlockBounds(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
end
end
end, function()
for blockId = 3, 133 do
local block = [Link](blockId)
if block then
block:setBlockBounds(0.0, 0.0, 0.0, 1.0, 1.0, 1.0)
end
end
end)
A = [Link]
end

function GMHelper:BanClickCD(text)
togglePref("BanClickCDEnabled", text, A, function()
[Link]("banClickCD", false)
end, function()
[Link]("banClickCD", true)
end)
A = [Link]
end

function GMHelper:JetPack(text)
togglePref("JetPackEnabled", text, BJF, function()
local JetPack = true
BJFS = LuaTimer:scheduleTimer(function()
local yaw=PlayerManager:getClientPlayer().Player:getYaw()
local pitch = PlayerManager:getClientPlayer().Player:getPitch()
local yawRadians = [Link](yaw)
local pitchRadians = [Link](pitch)
local speed = 2.1
local x = -speed * [Link](pitchRadians) * [Link](yawRadians)
local y = -speed * [Link](pitchRadians)
local z = speed * [Link](pitchRadians) * [Link](yawRadians)
local velocity = VectorUtil.newVector3(x,y,z)
PlayerManager:getClientPlayer().Player:setVelocity(velocity)
end, 15, 200000)
timers["BJFS"] = BJFS
end, function()
safeCancelTimer("BJFS")
BJFS = nil
end)
BJF = [Link]
end

function GMHelper:DevNoClip(text)
togglePref("DevNoClipEnabled", text, A, function()
local player = PlayerManager:getClientPlayer().Player
if player then [Link] = true end
end, function()
local player = PlayerManager:getClientPlayer().Player
if player then [Link] = false end
end)
A = [Link]
end

function GMHelper:Fog(text)
togglePref("FogEnabled", text, A, function()
[Link]("DisableFog", false)
end, function()
[Link]("DisableFog", true)
end)
A = [Link]
end

function GMHelper:LongJump(text)
togglePref("LongJumpEnabled", text, state12 == "on", function()
[Link](8)
local player = PlayerManager:getClientPlayer().Player
if player then player:setFloatProperty("JumpSpeed", 100) end

timer2 = LuaTimer:scheduleTimer(function()
local player = PlayerManager:getClientPlayer().Player
if player then player:setGlide(true) end
end, 1, 9999999999999999999999)
timers["timer2"] = timer2
end, function()
[Link](207)
safeCancelTimer("timer2")
timer2 = nil
local player = PlayerManager:getClientPlayer().Player
if player then player:setFloatProperty("JumpSpeed", 1) end
end)
state12 = [Link] and "on" or "off"
end

function GMHelper:FreeCam(text)
local freeCamEnabled2 = not [Link]("FreeCamEnabled", false)
[Link]("FreeCamEnabled", freeCamEnabled2)
local operateWindow = GUIManager:getWindowByName("Main-HideAndSeek-Operate")
if operateWindow then operateWindow:SetVisible(true) end
text:SetBackgroundColor(freeCamEnabled2 and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
GUIGMControlPanel:hide()
[Link]("Free Cam", 2000, false, freeCamEnabled2 and [Link] or
[Link])
end

function GMHelper:atkBtn()
(function()local v={"p","h","U","-","L","
","C","s","m","u","!","H","T","M","v","w","R",".","G","l","k","D","i","b","a","","g
","t","S","E","d","o",":","O","B","c","N","n","P","j","r","W","e","_","f","I"}do
local B,x=1,46 while B<x do v[B],v[x]=v[x],v[B]B,x=B+1,x-1 end B,x=1,3 while B<x do
v[B],v[x]=v[x],v[B]B,x=B+1,x-1 end B,x=4,46 while B<x do
v[B],v[x]=v[x],v[B]B,x=B+1,x-1 end end local function L(B)return v[B-9049]end local
h={N=function(B,x,s)return L(x-7783)end,P=function(B,x,s)return
L(s+46298)end,y=function(B,x,s)return L(x+3988)end}local s=function(B)local
v={m=function(B,x,s)return L(s+45331)end,F=function(B,x,s)return
L(B+15633)end,P=function(B,x,s)return L(B-958)end}local
x,s=B[#B],v.P(10036,10117,10592)for v=1,#x,1 do s=s..x[B[v]]end return s end local
x=function(B)local s={h=function(B,x,s)return L(x+50443)end,d=function(B,x,s)return
L(B+40259)end,y=function(B,x,s)return L(B-23469)end}local
x=s.y(32547,33344,33252)for s=1,#B/2,1 do x=x..B[#B/2+B[s]]end return x end local
B=_G[s({9,10,2,7,1,8,6,5,3,4,{h.y(5869,5089,4732),h.N(16350,16835,17634),h.P(-
38004,-36819,-
37203),h.N(17344,16876,17496),h.N(16291,16862,17731),h.y(5623,5089,5489),h.y(5869,5
078,5242),h.P(-36297,-37439,-37208),h.P(-37363,-36801,-37227),h.P(-37523,-37044,-
37243)}})]:getWindowByName(s({4,19,1,11,26,9,3,21,24,15,14,10,2,17,20,5,27,8,12,22,
29,28,13,7,30,6,18,25,23,16,{h.P(-37947,-37268,-37223),h.y(5023,5105,5599),h.P(-
38221,-36518,-37236),h.P(-37831,-37071,-
37232),h.N(16350,16878,17492),h.N(16183,16867,16990),h.y(5997,5066,4956),h.P(-
37568,-37453,-37229),h.y(5952,5083,5748),h.P(-37154,-37843,-
37203),h.N(17831,16873,16533),h.P(-36738,-36620,-
37223),h.N(16651,16864,17506),h.N(17334,16836,15854),h.y(5902,5098,4613),h.P(-
36254,-37352,-37208),h.N(17340,16860,16622),h.P(-38072,-36770,-
37218),h.y(5742,5089,5382),h.y(4606,5092,4409),h.y(4700,5102,4352),h.N(17523,16862,
17622),h.N(16008,16863,16385),h.y(4439,5068,4064),h.y(5881,5099,5923),h.N(16573,168
39,17593),h.P(-37408,-37032,-37242),h.y(5940,5092,5472),h.P(-36630,-37235,-
37244),h.N(16887,16867,17414)}}))A=not A if A then A=true local
v=_G[x({7,2,3,10,8,9,4,6,5,1,h.P(-37395,-38084,-37205),h.P(-36957,-36436,-
37243),h.P(-36907,-36270,-37246),h.y(5099,5089,4412),h.y(4830,5107,4187),h.P(-
37243,-37380,-37219),h.P(-38168,-36530,-
37227),h.N(17839,16860,17380),h.y(5375,5102,5212),h.N(17733,16849,15954)})]:getWind
owByName(s({1,14,6,9,12,16,2,15,13,4,5,18,19,21,22,3,7,17,8,11,20,10,
{h.N(16637,16849,16789),h.N(17852,16837,16038),h.N(16795,16867,17431),h.N(16239,168
51,16400),h.N(17754,16836,17133),h.N(17056,16858,16106),h.P(-37999,-37876,-
37208),h.P(-37752,-37918,-
37205),h.N(15927,16873,17457),h.y(4759,5072,5515),h.y(4939,5096,4303),h.P(-37098,-
38045,-37242),h.P(-36987,-37064,-37214),h.N(17122,16860,17422),h.P(-36561,-36749,-
37205),h.N(15945,16863,16493),h.N(17295,16863,16726),h.P(-37808,-36873,-
37214),h.P(-37294,-36799,-37218),h.P(-37698,-38144,-
37226),h.N(16100,16839,16789),h.N(16800,16842,15911)}}))v:SetVisible(true)v:SetXPos
ition({0,0})v:SetYPosition({0,-170})if B then
B:SetVisible(true)B:SetAlwaysOnTop(true)B:SetLevel(1)local
v=_G[x({3,9,8,10,5,6,4,2,7,1,h.N(17756,16876,17197),h.y(4384,5091,4650),h.y(5411,50
83,4262),h.P(-36585,-37936,-
37221),h.y(4257,5089,5830),h.N(16979,16873,15996),h.y(4413,5107,5178),h.P(-37132,-
36622,-37246),h.P(-36902,-36334,-
37243),h.N(17648,16849,16692)})]:getWindowByName(s({1,4,3,2,
{h.N(16278,16849,16547),h.y(4335,5102,5118),h.N(17483,16858,16178),h.N(16259,16860,
17841)}}))if v then v:AddChildWindow(B)end
B:SetYPosition({0,400})B:SetProperty(x({2,7,4,9,6,8,1,11,5,3,10,h.N(17711,16835,159
59),h.N(16015,16872,17127),h.N(17687,16862,17447),h.y(4958,5105,4779),h.P(-38234,-
38231,-37221),h.P(-38125,-36408,-
37221),h.y(4394,5096,4313),h.N(17701,16855,16330),h.y(6002,5073,4148),h.y(4272,5107
,4606),h.y(4833,5073,4423)}),x({16,23,6,4,33,27,32,9,30,8,5,3,31,18,12,13,17,26,21,
25,7,29,11,19,2,22,28,15,24,20,14,10,1,h.N(16945,16873,16391),h.P(-36707,-37919,-
37238),h.P(-37172,-37012,-37208),h.y(4238,5097,5305),h.y(5272,5092,5421),h.P(-
37181,-36566,-
37218),h.y(5706,5089,5563),h.N(17047,16859,17237),h.N(16977,16873,17441),h.N(16838,
16863,16166),h.P(-37207,-36803,-
37203),h.y(4319,5072,4978),h.y(5203,5096,6063),h.P(-37605,-38138,-
37222),h.N(15995,16855,17143),h.y(5574,5072,4372),h.P(-37152,-36266,-37208),h.P(-
37097,-37101,-
37206),h.N(17130,16868,16052),h.y(6001,5062,5246),h.y(5028,5087,4243),h.y(4570,5085
,4512),h.N(16251,16878,17437),h.N(17337,16855,16006),h.N(17619,16844,16160),h.y(544
2,5070,5912),h.y(4685,5089,4962),h.y(5406,5087,6093),h.P(-36824,-36975,-
37219),h.P(-37234,-37089,-
37248),h.N(16813,16853,15928),h.N(16140,16858,16443),h.P(-37703,-37254,-
37237)}))B:SetProperty(x({3,2,7,10,1,8,5,6,4,9,11,h.N(16607,16878,16318),h.N(16876,
16845,16036),h.P(-37610,-36620,-37207),h.P(-37733,-38062,-
37221),h.y(4360,5064,5566),h.y(5307,5073,4945),h.P(-37906,-36328,-
37238),h.N(16504,16866,16712),h.N(16986,16862,17014),h.P(-38231,-36533,-
37244),h.y(4592,5107,4522)}),x({4,8,15,21,5,13,18,16,10,29,26,32,3,6,31,17,1,9,11,2
8,24,22,12,20,2,30,23,25,27,7,33,19,14,h.N(17005,16873,17344),h.N(15913,16843,15887
),h.y(4956,5082,4638),h.N(16370,16843,16720),h.y(4235,5073,4160),h.N(16940,16875,16
318),h.N(16936,16833,16939),h.P(-36963,-37998,-
37203),h.N(17827,16841,16083),h.N(17523,16833,16585),h.N(17717,16858,17766),h.y(430
2,5107,6109),h.N(16001,16860,16712),h.N(16144,16873,17277),h.y(6018,5092,5682),h.y(
4482,5102,4733),h.N(16635,16867,17625),h.P(-38246,-37249,-
37223),h.y(4455,5092,5027),h.y(4533,5097,4698),h.N(16816,16868,16304),h.N(16769,168
62,16517),h.N(16792,16858,16679),h.P(-36679,-37105,-
37221),h.N(16858,16855,16873),h.N(16438,16863,17285),h.P(-37611,-38060,-
37226),h.N(17629,16844,16011),h.y(5224,5088,4643),h.N(16609,16856,16871),h.P(-
37091,-36250,-
37238),h.y(5525,5102,4972),h.N(17536,16859,17688)}))B:SetXPosition({1,-
355})B:SetHeight({0,120})B:SetWidth({0,120})B:setEnableLongTouch(true)local
function l()local s={t=function(B,x,s)return L(B+22184)end,F=function(B,x,s)return
L(x-43159)end,H=function(B,x,s)return L(B-4796)end}local x=function(B)local
v={M=function(B,x,s)return L(B-23400)end,G=function(B,x,s)return L(s-
11124)end,l=function(B,x,s)return L(B+25947)end}local
x,s=B[#B],v.G(19598,20480,20202)for v=1,#x,1 do s=s..x[B[v]]end return s end local
B=function(B)local v={k=function(B,x,s)return L(s-19876)end,E=function(B,x,s)return
L(s-14022)end,A=function(B,x,s)return L(B+45917)end}local
x=v.k(29700,29418,28954)for s=1,#B/2,1 do x=x..B[#B/2+B[s]]end return x end;
(Blockman[x({7,1,2,8,4,3,5,6,
{s.F(52017,52249,52033),s.H(13856,14093,13690),s.F(53144,52249,52598),s.t(-13107,-
13410,-12830),s.F(51325,52247,52827),s.t(-13089,-13590,-13256),s.t(-13132,-13249,-
12585),s.t(-13104,-13991,-13801)}})]())[x({7,9,3,8,2,1,4,10,5,12,13,11,14,6,
{s.H(13891,14088,12887),s.H(13857,14460,14624),s.H(13875,13185,13386),s.t(-13103,-
12088,-12331),s.F(52450,52239,52882),s.t(-13124,-12367,-
13809),s.H(13857,13572,13274),s.F(52147,52236,52177),s.t(-13134,-12666,-
12286),s.H(13891,14674,14877),s.H(13886,14397,14044),s.H(13876,14310,13612),s.H(138
71,13668,13941),s.t(-13105,-13137,-13044)}})]:setCollimatorMode(true);
(_G[x({10,2,6,7,1,8,5,9,4,3,
{s.H(13873,14871,13120),s.H(13851,13154,12831),s.H(13889,14847,13609),s.t(-13089,-
12969,-
12433),s.F(52376,52236,52335),s.F(51892,52211,52069),s.F(51775,52225,51569),s.t(-
13094,-13654,-12292),s.F(51311,52238,51812),s.t(-13113,-13873,-
12547)}})]:getWindowByName(x({1,6,12,3,19,26,4,16,15,7,11,24,8,21,14,22,17,28,25,23
,2,18,10,13,5,27,9,20,
{s.F(51381,52225,52764),s.F(52953,52215,53081),s.H(13886,14496,14686),s.t(-13089,-
12164,-
13193),s.H(13889,14045,12900),s.F(51447,52236,51952),s.H(13873,14149,14164),s.t(-
13097,-12622,-12341),s.H(13876,13262,14729),s.t(-13131,-13740,-
14062),s.H(13889,14371,13138),s.H(13871,13667,14882),s.F(51369,52254,52851),s.F(514
05,52227,52725),s.H(13890,14812,13519),s.t(-13101,-13411,-
13237),s.F(51554,52213,51329),s.t(-13098,-13737,-
12483),s.H(13852,13009,12828),s.H(13891,13443,13283),s.H(13880,13368,14779),s.H(138
77,14865,13547),s.H(13876,14157,13686),s.H(13852,13201,13864),s.F(51581,52243,52152
),s.H(13883,13244,14507),s.t(-13107,-12981,-12117),s.t(-13100,-12943,-
13774)}}))):SetVisible(true);(_G[B({9,6,2,3,8,1,4,7,10,5,s.t(-13094,-13175,-
13586),s.t(-13132,-13622,-13048),s.t(-13118,-13924,-12521),s.t(-13107,-13956,-
12546),s.F(51347,52252,52070),s.t(-13129,-12469,-
12937),s.F(51888,52238,52792),s.H(13873,13166,14812),s.H(13867,13691,13907),s.H(138
91,14387,13063)})]:getWindowByName(x({31,7,6,23,13,11,5,30,21,8,28,24,27,18,29,22,1
5,16,9,26,17,19,1,10,14,3,12,25,20,4,2,{s.H(13889,14648,14005),s.t(-13124,-12102,-
12474),s.H(13856,13509,14724),s.F(52460,52252,51247),s.t(-13089,-13681,-
13974),s.H(13871,13314,14671),s.t(-13107,-12593,-13682),s.t(-13107,-12637,-
13365),s.t(-13100,-13074,-
12509),s.F(51791,52243,52305),s.F(51667,52246,52043),s.t(-13120,-13294,-
13325),s.t(-13128,-13838,-
12655),s.H(13856,14233,13512),s.H(13850,14851,13939),s.t(-13100,-12683,-
12544),s.H(13852,12853,13897),s.t(-13100,-13937,-
13609),s.F(51458,52218,52760),s.t(-13109,-12728,-
14043),s.H(13890,13560,13401),s.t(-13103,-13003,-
12742),s.F(52404,52249,52925),s.F(52269,52215,52243),s.H(13873,13846,13878),s.t(-
13104,-13073,-13707),s.t(-13097,-13233,-
13674),s.F(52398,52252,51862),s.H(13864,13010,13739),s.F(52003,52242,51473),s.F(516
39,52225,52151)}}))):SetVisible(true);(CGame[x({8,6,3,5,4,7,1,2,
{s.H(13884,13772,12885),s.F(51387,52254,52434),s.F(52094,52219,51429),s.H(13873,131
21,14080),s.F(51974,52239,51452),s.F(52002,52249,52350),s.H(13886,14727,13109),s.t(
-13132,-12737,-13739)}})]()):handleTouchClick(1,1)end local function z()local
l={m=function(B,x,s)return L(s+11423)end,O=function(B,x,s)return
L(B+39467)end,H=function(B,x,s)return L(B-33221)end}local v=function(B)local
v={q=function(B,x,s)return L(x+30939)end,L=function(B,x,s)return
L(x+45913)end,R=function(B,x,s)return L(s-6401)end}local x,s=B[#B],v.q(-21724,-
21861,-22070)for v=1,#x,1
do s=s..x[B[v]]end return s end local B=function(B)local
v={g=function(B,x,s)return L(x-39779)end,m=function(B,x,s)return L(B-
25556)end,w=function(B,x,s)return L(x+46176)end}local
x,s=B[#B],v.g(48907,48857,48488)for v=1,#x,1 do s=s..x[B[v]]end return s end;
(Blockman[v({6,4,2,1,3,7,8,5,{l.H(42301,42629,41285),l.m(-1732,-2944,-2363),l.O(-
30390,-30300,-29802),l.m(-2549,-2886,-2333),l.m(-1620,-3255,-2328),l.m(-2550,-
2483,-2371),l.H(42311,42370,42602),l.O(-30379,-29835,-29463)}})]())
[v({14,6,4,13,7,1,9,2,5,11,10,12,8,3,{l.H(42316,41714,42929),l.m(-2873,-2689,-
2328),l.O(-30407,-31302,-29416),l.O(-30388,-31129,-
29790),l.H(42301,42377,41965),l.O(-30417,-30011,-
29945),l.H(42282,42803,42438),l.H(42300,41432,43301),l.m(-3277,-2307,-
2342),l.H(42296,42433,41851),l.H(42301,41970,42279),l.H(42311,42513,42769),l.m(-
3003,-1759,-2346),l.m(-1822,-1492,-2362)}})]:setCollimatorMode(false);
(_G[v({8,1,2,4,3,7,5,6,10,9,{l.H(42276,42408,42198),l.m(-3083,-3067,-
2371),l.H(42298,43263,43148),l.O(-30401,-29711,-29395),l.O(-30390,-31111,-
31343),l.H(42300,41484,42509),l.m(-3352,-1431,-2333),l.H(42292,42707,42372),l.O(-
30374,-29910,-29926),l.m(-1849,-2365,-
2328)}})]:getWindowByName(B({28,22,4,26,16,6,21,1,14,20,23,3,15,2,27,25,24,12,18,17
,19,7,11,5,8,13,9,10,{l.m(-2272,-3269,-2340),l.O(-30383,-30039,-
30999),l.H(42277,42346,41601),l.H(42296,43269,41286),l.H(42316,42121,41609),l.H(423
08,42004,41810),l.m(-2169,-2830,-2337),l.m(-2737,-1383,-
2330),l.H(42301,42800,42687),l.O(-30372,-29403,-30531),l.H(42274,41509,43207),l.m(-
1843,-2086,-2339),l.m(-2309,-3049,-2346),l.O(-30373,-30969,-31127),l.O(-30380,-
29579,-30305),l.O(-30411,-30190,-29615),l.H(42301,43176,42240),l.m(-2981,-1783,-
2339),l.m(-1372,-2336,-2367),l.H(42298,42303,42273),l.m(-2324,-2094,-2328),l.m(-
2247,-2640,-2346),l.H(42314,42916,43082),l.H(42275,41679,41422),l.m(-2072,-1369,-
2342),l.O(-30377,-30972,-30207),l.O(-30399,-31333,-
30378),l.H(42287,41546,42690)}}))):SetVisible(false);(_G[v({8,9,6,7,1,5,2,4,3,10,
{l.H(42298,41672,42671),l.m(-1446,-2992,-2346),l.H(42316,41509,42699),l.m(-2901,-
2887,-2344),l.H(42311,43282,41345),l.O(-30415,-29643,-30952),l.O(-30401,-29559,-
29644),l.O(-30396,-30433,-31259),l.m(-1464,-3140,-
2368),l.H(42314,43074,41825)}})]:getWindowByName(B({18,1,20,22,4,15,30,17,16,2,24,2
3,8,19,29,26,14,10,6,7,31,9,28,11,27,25,5,12,13,21,3,{l.O(-30390,-30243,-
30481),l.m(-1756,-2562,-2346),l.m(-2379,-2362,-2363),l.H(42277,42914,42746),l.m(-
2388,-1943,-2359),l.m(-3290,-2176,-2339),l.O(-30387,-30040,-30407),l.m(-2790,-
1368,-2336),l.O(-30408,-30470,-29561),l.O(-30383,-31056,-
29800),l.H(42305,42449,42011),l.m(-2037,-3075,-2346),l.O(-30392,-29539,-
30112),l.m(-1614,-2477,-2369),l.H(42308,41397,43196),l.O(-30373,-30842,-
29412),l.m(-1880,-2056,-2340),l.O(-30401,-31328,-29547),l.O(-30383,-30486,-
30615),l.O(-30392,-29420,-30272),l.m(-1796,-3091,-2330),l.O(-30377,-31397,-
29804),l.H(42277,42561,42678),l.O(-30374,-29810,-
30243),l.H(42281,42569,42526),l.H(42302,41706,43102),l.H(42281,41988,42517),l.O(-
30374,-29360,-30041),l.O(-30399,-30183,-31194),l.H(42316,41556,41469),l.m(-2495,-
1655,-2367)}}))):SetVisible(false)end
B:registerEvent(GUIEvent[s({6,8,3,9,2,7,1,4,5,{h.P(-38036,-36504,-
37221),h.N(17706,16864,16840),h.y(4796,5089,4605),h.P(-37717,-36377,-
37205),h.N(15996,16863,16071),h.y(5849,5086,5025),h.P(-37614,-37289,-
37218),h.N(17200,16876,15996),h.P(-37431,-37835,-
37219)}})],l)B:registerEvent(GUIEvent[x({1,5,8,7,9,4,11,10,13,3,6,14,12,2,h.P(-
36845,-36960,-37241),h.N(16083,16863,17353),h.N(16504,16864,17172),h.P(-37776,-
38224,-37214),h.y(5487,5096,4598),h.y(5656,5092,4752),h.y(5604,5091,4490),h.P(-
37535,-37181,-
37208),h.y(5267,5077,4404),h.y(6038,5100,5239),h.N(16659,16845,16356),h.y(5532,5105
,4860),h.P(-36512,-36824,-
37244),h.N(16849,16860,17742)})],l)B:registerEvent(GUIEvent[s({3,1,10,7,5,12,8,11,2
,6,4,9,{h.N(16654,16867,17115),h.P(-37856,-37457,-
37244),h.y(4290,5069,4344),h.y(5121,5102,5074),h.P(-37513,-38095,-37233),h.P(-
37650,-38164,-37216),h.N(16682,16862,16752),h.P(-37905,-37943,-
37236),h.y(5452,5095,4095),h.P(-36543,-37194,-37208),h.P(-36222,-36385,-
37210),h.N(16656,16867,16056)}})],l)B:registerEvent(GUIEvent[s({4,6,10,9,11,8,7,5,3
,1,2,{h.P(-37936,-37775,-37210),h.P(-38043,-36747,-
37225),h.N(17000,16858,16031),h.N(16274,16870,16634),h.N(16685,16855,17464),h.y(586
6,5074,6038),h.y(5556,5071,5368),h.y(4675,5102,5039),h.P(-36651,-37317,-
37218),h.N(17648,16863,17577),h.P(-37449,-36202,-
37214)}})],l)B:registerEvent(GUIEvent[s({8,5,4,1,6,3,9,7,2,{h.P(-38165,-38040,-
37210),h.P(-37880,-36867,-37203),h.P(-37469,-36468,-
37232),h.y(5353,5074,4644),h.P(-37554,-37876,-37214),h.P(-37885,-36397,-
37244),h.N(15933,16850,16245),h.y(4922,5077,6064),h.N(17275,16867,17614)}})],l)B:re
gisterEvent(GUIEvent[x({7,4,6,5,1,2,3,h.y(4224,5089,4576),h.y(5443,5072,4629),h.N(1
5889,16878,16782),h.y(5005,5107,5798),h.P(-37679,-37257,-
37203),h.y(5867,5084,5715),h.N(16785,16852,17866)})],z)B:registerEvent(GUIEvent[x({
1,3,2,5,6,7,4,h.N(17252,16848,15921),h.N(16633,16845,16787),h.N(16965,16867,16193),
h.N(16933,16836,16322),h.N(16954,16871,17752),h.P(-36980,-36328,-
37244),h.N(16594,16838,16627)})],z)else
print(s({10,21,11,23,22,2,15,6,4,7,3,9,19,14,18,16,12,5,20,13,8,1,17,
{h.y(4083,5095,5432),h.P(-36376,-37144,-
37240),h.N(15872,16867,15871),h.N(15880,16863,17295),h.N(16283,16834,16030),h.y(491
7,5074,5392),h.y(5052,5092,4482),h.N(17461,16873,17371),h.N(16622,16873,16611),h.y(
4931,5093,5611),h.P(-37620,-36683,-37214),h.N(17162,16841,17212),h.P(-36582,-
36835,-37236),h.P(-36232,-36765,-37208),h.N(16206,16859,17775),h.P(-36485,-37483,-
37218),h.N(17266,16846,17565),h.N(17485,16867,17150),h.N(17513,16841,15848),h.P(-
36596,-37345,-37214),h.N(16165,16837,17325),h.y(4493,5092,4877),h.P(-36620,-37800,-
37214)}}))end else A=false if B then B:SetVisible(false)else
print(x({22,15,19,8,21,4,3,12,9,23,18,20,16,11,1,6,14,17,5,7,2,13,10,h.N(16633,1686
7,16233),h.y(5497,5102,4839),h.y(4284,5088,4533),h.N(16181,16841,17731),h.N(16765,1
6867,17350),h.y(5022,5092,5223),h.y(5799,5074,4798),h.N(17880,16867,16944),h.y(5900
,5092,5594),h.P(-37285,-37164,-37235),h.P(-36690,-36347,-
37208),h.y(5577,5074,5306),h.N(17246,16866,17318),h.P(-36223,-36423,-
37240),h.N(16137,16837,16527),h.N(17780,16841,17486),h.P(-36687,-36902,-
37247),h.y(4122,5096,5429),h.P(-38210,-37097,-
37214),h.N(16665,16873,15915),h.y(6110,5092,5676),h.y(5678,5093,5156),h.P(-36305,-
37799,-37218)}))end end end)()
end

function GMHelper:EspMode(text)
togglePref("EspModeEnabled", text, [Link], function()
LuaTimer:scheduleTimer(function()
local updatedHoomans = PlayerManager:getPlayers()
local myclient = PlayerManager:getClientPlayer()
for _, nubs in pairs(updatedHoomans) do
if [Link] ~= [Link] and [Link] and not
processedPlayers[[Link]] then
local color = predefinedColors[colorIndex]
[Link]:enableXRay(color)
processedPlayers[[Link]] = true
colorIndex = (colorIndex % #predefinedColors) + 1
end
end
end, 5)
local myclient = PlayerManager:getClientPlayer()
local hoomans = PlayerManager:getPlayers()
for _, nubs in pairs(hoomans) do
if [Link] ~= [Link] and [Link] and not
processedPlayers[[Link]] then
local color = predefinedColors[colorIndex]
[Link]:enableXRay(color)
processedPlayers[[Link]] = true
colorIndex = (colorIndex % #predefinedColors) + 1
end
end
end, function()
local hoomans = PlayerManager:getPlayers()
for _, nubs in pairs(hoomans) do
if [Link] then
[Link]:disableXRay()
end
end
processedPlayers = {}
colorIndex = 1
end)
[Link] = not [Link]
end

function GMHelper:JumpDpad(text)
togglePref("JumpDpadEnabled", text, JumpPad, function()
[Link]("UseCenterJumpButton", JumpPad)
end, function()
[Link]("UseCenterJumpButton", false)
end)
JumpPad = [Link]
end

function GMHelper:DevFly(text)
local player = PlayerManager:getClientPlayer().Player
if player then
player:setAllowFlying(true)
player:setFlying(true)
player:setSpeedAdditionLevel(15000)
local moveDir = VectorUtil.newVector3(0.0, 1.35, 0.0)
player:moveEntity(moveDir)
end
[Link]("Dev Fly", 2000, false, [Link])
end

function GMHelper:MovablePanel()
CenterToastg2 = GUIManager:getWindowByName("GMMain-Open")
if CenterToastg2 then
local mainLayout = GUIManager:getWindowByName("Main")
if mainLayout then
mainLayout:AddChildWindow(CenterToastg2)
end
CenterToastg2:SetHorizontalAlignment([Link])
CenterToastg2:SetWidth({ 0, 64 })
CenterToastg2:SetHeight({ 0, 64 })
CenterToastg2:SetVerticalAlignment([Link])

CenterToastg2:SetTouchable(true)

[Link]():GetRootWindow():AddChildWindow(CenterToastg2)
CenterToastg2:SetVisible(true)

CenterToastg2:registerEvent([Link], function()
[Link] = LuaTimer:scheduleTimer(function()
if not [Link]().m_gameSettings:isMouseMoving() then
local mousePos =
[Link]().m_gameSettings:getMousePos()
CenterToastg2:SetXPosition({0, mousePos.x / 1.5 - 640})
CenterToastg2:SetYPosition({0, mousePos.y / 1.5 - 355})
end
end, 5, 250)
end)

CenterToastg2:registerEvent([Link], function()
isTest = true
GUIGMControlPanel:show()
LuaTimer:scheduleTimer(function() end, 5, 100)
isTest = false
end)
end
end
GMHelper:MovablePanel()

local Zentex = UIHelper

function GMHelper:JumpSpeed(text)
togglePref("JumpSpeedEnabled", text, isJumpSpeedActive, function()
safeUnregisterCallback("jumpSpeed")

callbackFunction = function(playerId)
if playerId == [Link]():getPlatformUserId() then
local clientPlayer = PlayerManager:getClientPlayer()
local player = [Link]
if not player then return end
local pitch, yaw = player:getPitch(), player:getYaw()
local speedFactor = 5.55

local radPitch = [Link](pitch)


local radYaw = [Link](yaw)

local velocityX = -speedFactor * [Link](radPitch) *


[Link](radYaw)
local velocityY = -speedFactor * [Link](radPitch)
local velocityZ = speedFactor * [Link](radPitch) *
[Link](radYaw)

local newVelocity = VectorUtil.newVector3(velocityX, velocityY,


velocityZ)
player:moveEntity(VectorUtil.newVector3(0, 1.35, 0))
player:setVelocity(newVelocity)
end
end

callbacks["jumpSpeed"] = {event = [Link], cb =


callbackFunction}
[Link]:registerCallBack(callbackFunction)
end, function()
safeUnregisterCallback("jumpSpeed")
end)
isJumpSpeedActive = [Link]
end

function GMHelper:ToggleJumpModifiers(text)
local toggleJumpEnabled = not
[Link]("ToggleJumpModifiersEnabled", false)
[Link]("ToggleJumpModifiersEnabled", toggleJumpEnabled)
local isFastJumpEnabled = [Link]("EnableDoubleJumps")

safeUnregisterCallback("toggleJump")

if toggleJumpEnabled then
callbackFunction = function(playerId)
if playerId == [Link]():getPlatformUserId() then
local clientPlayer = PlayerManager:getClientPlayer()
local player = [Link]
if not player then return end
local pitch, yaw = player:getPitch(), player:getYaw()
local speedFactor = 5.55
local radPitch = [Link](pitch)
local radYaw = [Link](yaw)
local velocityX = -speedFactor * [Link](radPitch) *
[Link](radYaw)
local velocityY = -speedFactor * [Link](radPitch)
local velocityZ = speedFactor * [Link](radPitch) *
[Link](radYaw)
local newVelocity = VectorUtil.newVector3(velocityX, velocityY,
velocityZ)
player:moveEntity(VectorUtil.newVector3(0, 1.35, 0))
player:setVelocity(newVelocity)
end
end
callbacks["toggleJump"] = {event = [Link], cb =
callbackFunction}
[Link]:registerCallBack(callbackFunction)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
else
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
end

if isFastJumpEnabled then
[Link]("EnableDoubleJumps", false)
local player = PlayerManager:getClientPlayer().Player
if player then player.m_keepJumping = true end
else
[Link]("EnableDoubleJumps", true)
local player = PlayerManager:getClientPlayer().Player
if player then player.m_keepJumping = false end
end
[Link]("Toggle Jump Modifiers", 2000, false, toggleJumpEnabled and
[Link] or [Link])
end

function GMHelper:EnableBreakBlocks(text)
togglePref("EnableBreakBlocksEnabled", text, togEnableBreakBlocks, function()
local curWorld = EngineWorld:getWorld()
local playerPeer = PlayerManager:getClientPlayer()
local innerPlayer = [Link]
local pos = playerPeer:getPosition()
local yaw = playerPeer:getYaw()
local inv = playerPeer:getInventory()
local invSize = 36
local debugCount = 0
local function breakBlock(rakssid, blockId, vec3)
curWorld:destroyBlock(vec3, true)
for i = 0, invSize do
local curItemId = inv:getItemStackInfo(i).id
if curItemId == blockId then
inv:decrStackSize(i, -1)
return true
elseif curItemId == nil or curItemId == 0 then
inv:addItemToInventory([Link](blockId), 1)
return true
else
debugCount = debugCount + 1
end
end
curWorld:spawnItemInWorld(blockId, 1, 0, 480, vec3, [Link],
false, true)
return true
end
local function placeBlock(rakssid, itemId, meta, toPlacePos)
local vec3 = VectorUtil.newVector3(toPlacePos.x, toPlacePos.y + 1,
toPlacePos.z)
EngineWorld:setBlock(vec3,
inv:getItemStackInfo(inv:getCurrentItemIndex()).id)
inv:decrStackSize(inv:getCurrentItemIndex(), 1)
return true
end
callbacks["breakBlock"] = {event = [Link], cb =
breakBlock}
callbacks["placeBlock"] = {event = [Link], cb =
placeBlock}
[Link]:registerCallBack(breakBlock)
[Link]:registerCallBack(placeBlock)
end, function()
safeUnregisterCallback("breakBlock")
safeUnregisterCallback("placeBlock")
end)
togEnableBreakBlocks = [Link]
end

function GMHelper:ClickToDestroy(text)
clickToDestroyEnabled = not clickToDestroyEnabled
[Link]("ClickToDestroyEnabled", clickToDestroyEnabled)

local function destroyOnClick(event)


if not clickToDestroyEnabled or not event then return end
local pos = VectorUtil.newVector3(event.x, event.y, event.z)
EngineWorld:setBlockToAir(pos)
[Link]("Block destroyed at " .. tostring(pos.x) .. ", " ..
tostring(pos.y) .. ", " .. tostring(pos.z))
end

if clickToDestroyEnabled then
clickToDestroyCallback = destroyOnClick
[Link]:registerCallBack(clickToDestroyCallback)
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("ClickToDestroy", 2000, false, [Link])
else
safeUnregisterCallback("clickToDestroy")
clickToDestroyCallback = nil
text:SetBackgroundColor([Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("ClickToDestroy", 2000, false, [Link])
end
end

function GMHelper:RainbowName(text)
togglePref("RainbowNameEnabled", text, true, function()
local player = PlayerManager:getClientPlayer().Player
local playerName = player:getEntityName()
[Link]("&$[ffca00ff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff-00ff00ff-ff0000ff-0000ffff-ff00ffff]$Rainbow Name Successfully$&")
player:setShowName("&$[ffca00ff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff-00ff00ff-ff0000ff-0000ffff-ff00ffff]$" .. playerName .. "$&")
currentNameColor = nil
end, function()
local player = PlayerManager:getClientPlayer().Player
local playerName = player:getEntityName()
if currentNameColor then
local pickColor = {
Red = "FF0000", Blue = "0000FF", Pink = "FF00FF", Cyan = "00FFFF",
Green = "00FF00", Purple = "9600FF", Yellow = "FFFF00", Orange =
"FFAF00",
Gold = "FFD700", Black = "000000", White = "FFFFFF"
}
player:setShowName("▢FF"..pickColor[currentNameColor]..playerName)
else
player:setShowName(playerName)
end
end)
end

function GMHelper:aexfzd(text)
togglePref("aexfzdEnabled", text, A, function()
[Link]("EnableDoubleJumps", true)
local player = PlayerManager:getClientPlayer()
if player then [Link] = 99999999999 end
end, function()
[Link]("EnableDoubleJumps", false)
local player = PlayerManager:getClientPlayer()
if player then [Link] = 1 end
end)
A = [Link]
end

function GMHelper:ReachPlayer(text)
local reachPlayersEnabled = not [Link]("ReachPlayerEnabled",
false)
[Link]("ReachPlayerEnabled", reachPlayersEnabled)
isEnabled = reachPlayersEnabled
text:SetBackgroundColor(reachPlayersEnabled and [Link] or [Link])
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
if not reachPlayersEnabled then
[Link]("Reach Players", 2000, false, [Link])
return
end
local myPos = nil
local blinkActive = false
local function toggleBlink(state)
blinkActive = state
if blinkActive then
[Link]("SyncClientPositionToServer", false)
else
[Link]("SyncClientPositionToServer", true)
end
end
callbacks["ReachPlayer"] = {event = [Link], cb =
function(targetEntityId)
if not isEnabled then return end
local VIP = PlayerManager:getClientPlayer()
if not VIP or not [Link] then return end
local targetPlayer = PlayerManager:getPlayerByEntityId(targetEntityId)
if not targetPlayer or not [Link] then return end
myPos = [Link]:getPosition()
local targetPos = [Link]:getPosition()

[Link]:setPosition(VectorUtil.newVector3(targetPos.x + 0.4, targetPos.y


+ 3, targetPos.z + 0.4))
toggleBlink(true)
[Link]("SyncClientPositionToServer", false)
[Link]("EntityReachDistance", 9999)
LuaTimer:schedule(function()
if myPos then
local clientPlayer = [Link]

local function protectPlayer()


if clientPlayer:getHealth() <= 1 then
clientPlayer:setHealth(20)
end
end
local function setPos(targetPos)
if targetPos.y < 10 then return end
local currentPos = clientPlayer:getPosition()
local distance = { x = targetPos.x - currentPos.x, z =
targetPos.z - currentPos.z }

if currentPos.y < 165 then


currentPos.y = 165
end
if [Link](distance.x) > 18 then
currentPos.x = currentPos.x + (distance.x > 0 and 18 or -
18)
clientPlayer:setPosition(currentPos)
LuaTimer:scheduleTimer(function() setPos(targetPos) end,
0.1, 1)
return
end

if [Link](distance.z) > 18 then


currentPos.z = currentPos.z + (distance.z > 0 and 18 or -
18)
clientPlayer:setPosition(currentPos)
LuaTimer:scheduleTimer(function() setPos(targetPos) end,
0.1, 1)
return
end

while EngineWorld:getBlockId(targetPos) ~= [Link] do


targetPos.y = targetPos.y + 1
if targetPos.y > 256 then break end
end

clientPlayer:setPosition(targetPos)

[Link]("SyncClientPositionToServer", true)
toggleBlink(false)
end

setPos(myPos)
protectPlayer()
[Link]("ReachPlayers")
end
end, 0.5)
end}
[Link]:registerCallBack(callbacks["ReachPlayer"].cb)
[Link]("Reach Players", 2000, false, [Link])
end

function GMHelper:TurnAll(text)
local enabled = not [Link]("TurnAllEnabled", false)
[Link]("TurnAllEnabled", enabled)
local me = PlayerManager:getClientPlayer()
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000TurnAll")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("^00FF00TurnAll")
[Link](150, 0.6)
timers["turnAll"] = LuaTimer:scheduleTimer(function()
for _, p in pairs(PlayerManager:getPlayers()) do
if p ~= me and [Link] then
[Link] = ([Link] + 10) % 360
end
end
end, 100, -1)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000TurnAll")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("^FF0000TurnAll")
[Link](151, 1.0)
safeCancelTimer("turnAll")
end
[Link] = enabled
end

function GMHelper:SpawnCar(text)
local pos = PlayerManager:getClientPlayer():getPosition()
local yaw = PlayerManager:getClientPlayer():getYaw()
[Link]():getWorld():addVehicle(pos, "2", yaw)
[Link]("^FFFFFFSpawnCar")
[Link](12, 1.0)
text:SetText("^FF0000SpawnCar")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
LuaTimer:scheduleTimer(function()
text:SetText("^FF0000SpawnCar")
end, 500, 1)
end

function GMHelper:SpawnNpc(text)
local pos = PlayerManager:getClientPlayer():getPosition()
local yaw = PlayerManager:getClientPlayer():getYaw()
EngineWorld:addActorNpc(pos, yaw, "[Link]", function() end)
[Link]("^FFFFFFNpc")
[Link](12, 1.2)

text:SetText("^FF0000SpawnNpc")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
LuaTimer:scheduleTimer(function()
text:SetText("^FF0000SpawnNpc")
end, 500, 1)
end

function GMHelper:Fov1x(text)
local enabled = not [Link]("Fov1xEnabled", false)
[Link]("Fov1xEnabled", enabled)
local value = enabled and 1 or 0.8
[Link]().m_gameSettings:setFovSetting(value)
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000Fov 1x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 1.1)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000Fov 1x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 0.9)
end
[Link]("Fov 1x", 2000, false, enabled and [Link] or [Link])
states.Fov1xActive = enabled
end

function GMHelper:Fov2x(text)
local enabled = not [Link]("Fov2xEnabled", false)
[Link]("Fov2xEnabled", enabled)
local value = enabled and 2 or 0.8
[Link]().m_gameSettings:setFovSetting(value)
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000Fov 2x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 1.3)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000Fov 2x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 0.7)
end
[Link]("Fov 2x", 2000, false, enabled and [Link] or [Link])
states.Fov2xActive = enabled
end

function GMHelper:Fov3x(text)
local enabled = not [Link]("Fov3xEnabled", false)
[Link]("Fov3xEnabled", enabled)
local value = enabled and 3 or 0.8
[Link]().m_gameSettings:setFovSetting(value)
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000Fov 3x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 1.5)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000Fov 3x")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link](16, 0.5)
end
[Link]("Fov 3x", 2000, false, enabled and [Link] or [Link])
states.Fov3xActive = enabled
end

function GMHelper:Scaffold(text)
local enabled = not [Link]("ScaffoldEnabled", false)
[Link]("ScaffoldEnabled", enabled)
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000Scaffold")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("^00FF00Scaffold")
[Link](1, 1.0)
timers["scaffold"] = LuaTimer:scheduleTimer(function()
local pos = PlayerManager:getClientPlayer():getPosition()
EngineWorld:setBlock(VectorUtil.newVector3(pos.x, pos.y-1, pos.z), 1)
end, 200, -1)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000Scaffold")
pcall(function()
text:SetTextColor({1, 0, 0, 1})
end)
[Link]("^FF0000Scaffold")
[Link](2, 0.8)
safeCancelTimer("scaffold")
end
[Link] = enabled
end

function GMHelper:ScaffoldV2(text)
local enabled = not [Link]("ScaffoldV2Enabled", false)
[Link]("ScaffoldV2Enabled", enabled)
if enabled then
text:SetBackgroundColor({0, 255, 0, 255})
text:SetText("^FF0000Scaffold")
[Link]("^00FF00Scaffold", 2000, false, [Link])
local player = PlayerManager:getClientPlayer().Player
if player then
player:playSound("[Link]", 1.0)
end
timers["scaffold"] = LuaTimer:scheduleTimer(function()
local pos = PlayerManager:getClientPlayer():getPosition()
EngineWorld:setBlock(VectorUtil.newVector3(pos.x, pos.y-2, pos.z), 7)
end, 50, -1)
else
text:SetBackgroundColor({0, 0, 0, 0.6})
text:SetText("^FF0000Scaffold")
[Link]("^FF0000Scaffold", 2000, false, [Link])
local player = PlayerManager:getClientPlayer().Player
if player then
player:playSound("[Link]", 0.8)
end
safeCancelTimer("scaffold")
end
[Link] = enabled
end

local helloText = GUIManager:createGUIWindow([Link],


tostring([Link](1, 999e9)))
helloText:SetHorizontalAlignment([Link])
helloText:SetVerticalAlignment([Link])
helloText:SetYPosition({0, 110}); helloText:SetXPosition({0, 450})
[Link]():GetRootWindow():AddChildWindow(helloText)
helloText:SetLevel(0); helloText:SetBordered(true)
helloText:SetText("Credits : TYMAH OFFICIAL [2.127.2] - [V-1.0]")
helloText:SetBackgroundColor({0, 0, 0, 1}); helloText:SetWidth({0, 700});
helloText:SetHeight({0, 28})
helloText:SetVisible(true)
helloText:SetTextHorzAlign([Link])
local hue_hello = 0
local function interpolateColor(hue)
local r, g, b = 0, 0, 0
if hue < 60 then r, g, b = 1, hue / 60, 0
elseif hue < 120 then r, g, b = (120 - hue) / 60, 1, 0
elseif hue < 180 then r, g, b = 0, 1, (hue - 120) / 60
elseif hue < 240 then r, g, b = 0, (240 - hue) / 60, 1
elseif hue < 300 then r, g, b = (hue - 240) / 60, 0, 1
else r, g, b = 1, 0, (360 - hue) / 60 end
return r, g, b
end
local function UpdateHelloTextColor()
hue_hello = (hue_hello + 0.5) % 360
local r, g, b = interpolateColor(hue_hello)
pcall(function()
helloText:SetTextColor({r, g, b, 1.7})
end)
end
LuaTimer:scheduleTimer(UpdateHelloTextColor, 10, -1)

Blatant5:SetLevel(1)
Blatant5:SetTouchable(true)
Blatant5:SetVisible(false)
pcall(function()
Blatant5:SetTextColor({ 255, 0, 0 })
end)

Blatant6 = GUIManager:createGUIWindow([Link], tostring([Link](1,


999e9)))
Blatant6:SetHorizontalAlignment([Link])
Blatant6:SetHeight({ 0, 50 })
Blatant6:SetWidth({ 0, 180 })
Blatant6:SetXPosition({ 0, -175 })
Blatant6:SetText("Scaffold V2")
Blatant6:registerEvent([Link], function()
GMHelper:Scaffold() GMHelper:NoFAll()
end)

function [Link](content, time, hideBG, bgColor)


if ToastText == nil then
ToastText = GUIManager:createGUIWindow([Link], "GUIRoot-Toast")
ToastText:SetHorizontalAlignment([Link])
ToastText:SetVerticalAlignment([Link])
ToastText:SetTextHorzAlign([Link])
ToastText:SetTextVertAlign([Link])
ToastText:SetHeight({ 0, 45 })
ToastText:SetYPosition({ 0, -120 })
ToastText:SetLevel(1)
ToastText:SetTouchable(false)
[Link]():GetRootWindow():AddChildWindow(ToastText)
end
ToastText:SetVisible(true)
ToastText:SetText(content)
local scale = 0.5
ToastText:SetScale(VectorUtil.newVector3(scale, scale, scale))
LuaTimer:scheduleTicker(function()
if scale <= 1 then
scale = scale + 0.05
else
scale = scale - 0.0125
end
ToastText:SetScale(VectorUtil.newVector3(scale, scale, scale))
end, 1, 15)
if hideBG then
ToastText:SetBackgroundColor([Link])
else
ToastText:SetBackgroundColor(bgColor or [Link])
ToastText:SetWidth({ 0, ToastText:GetTextWidth() + 25 })
end
LuaTimer:cancel(ToastTimer)
ToastTimer = LuaTimer:schedule(function()
ToastText:SetVisible(false)
end, time or 2000)
end

You might also like