UIGMControlPanel Lua Script Overview
UIGMControlPanel Lua Script Overview
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 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
[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
if scale == 0 then
checkCompletion()
end
end, 1, 20))
end
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
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)
POS:SetText(positionText)
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)
function Game:isOpenGM()
return isClient
end
local Settings = {}
GMHelper = {}
GMSetting = {}
function GMSetting:getSettings()
return Settings
end
GMSetting:addTab("nt", "Hack")
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 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()
LuaTimer:scheduleTimer(function()
GMHelper:enableGM()
end, 5000)
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
function GMHelper:Text()
local GUI = GUIManager:createGUIWindow([Link], "GUIRoot-Text")
GUI:SetVisible(true)
GUI:SetWidth({ 0, 556 })
GUI:SetHeight({ 0, 30 })
GUI:SetXPosition({ 0, 567 })
GUI:SetBordered(true)
GUI:SetYPosition({ 0, 110 })
[Link]():GetRootWindow():AddChildWindow(GUI)
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: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()
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]
targetPos = checkBlock(targetPos)
clientPlayer:setPosition(targetPos)
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()
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
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
LuaTimer:scheduleTimer(function()
local fallDistance = [Link]
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
[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)
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
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
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
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]
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)
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:HitBox(text)
togglePref("HitBoxEnabled", text, a, function()
local players = PlayerManager:getPlayers()
local me = PlayerManager:getClientPlayer()
function GMHelper:BigPlayers(text)
togglePref("BigPlayersEnabled", text, true, function()
local me = PlayerManager:getClientPlayer()
local players = PlayerManager:getPlayers()
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
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
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
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 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()
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
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)
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()
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
Blatant5:SetLevel(1)
Blatant5:SetTouchable(true)
Blatant5:SetVisible(false)
pcall(function()
Blatant5:SetTextColor({ 255, 0, 0 })
end)