Another Script
Another Script
open
UIGMControlPanel = require("engine_client.[Link]")
function UIGMControlPanel:show()
[Link]("Successful✓")
[Link](self)
[Link](self)
end
function UIGMControlPanel:hide()
showCloseAnim(self, function()
[Link](self)
end)
end
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
if CGame then
GameType = [Link]():getGameType()
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/"
end
[Link]("MapRegionPath", mapPath)
IsAIGame = false
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/" .. GameType .. "/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/" .. GameType .. "/"
end
[Link]("MapRegionPath", mapPath)
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/" .. GameType .. "/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/" .. GameType .. "/"
end
[Link]("MapRegionPath", mapPath)
end
if CGame then
GameType = [Link]():getGameType()
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/"
end
[Link]("MapRegionPath", mapPath)
IsAIGame = false
end
if CGame then
GameType = [Link]():getGameType()
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/"
end
[Link]("MapRegionPath", mapPath)
IsAIGame = false
end
if CGame then
GameType = [Link]():getGameType()
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/"
end
[Link]("MapRegionPath", mapPath)
IsAIGame = false
end
if CGame then
GameType = [Link]():getGameType()
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/"
else
mapPath = [Link]():getRootPath() .. "/" .. [Link]()
.. "/map/"
end
[Link]("MapRegionPath", mapPath)
IsAIGame = false
end
local mapPath
if [Link]():getLordPlatform() == 2 then
mapPath = [Link]() .. "/map/" .. GameType .. "/"
else
mapPath = [Link]():getRootPath() .. "/" ..
[Link]() .. "/map/" .. GameType .. "/"
end
[Link]("MapRegionPath", mapPath)
end
function isBedwar()
local gtype = [Link]():getGameType()
local validTypes = {
g1008 = true,
g1046 = true,
g1061 = true,
g1062 = true,
g1063 = true,
g1064 = true,
g1065 = true,
}
return validTypes[gtype] == true
end
if isBedwar() then
PacketSender = PacketSender or {}
function PacketSender:sendLuaCommonData(key, data)
if key == "ConnectorRoomMsg" then
print("Blocked key: ConnectorRoomMsg")
return
end
function Game:init()
[Link] = [Link]()
[Link] = [Link]:getGameType()
[Link] = [Link]:isEnableIndie(true)
[Link] = [Link]()
[Link] = [Link]:getWorld()
[Link] = [Link]:isLowerDevice()
EngineWorld:setWorld([Link])
end
function Game:isOpenGM()
return isClient
end
local Settings = {}
GMHelper = {}
GMSetting = {}
function GMSetting:getSettings()
return Settings
end
GMSetting:addTab("ep", "Hacks")
GMSetting:addItem("Hacks", "^FFA500Equip NinjaShoes", "EquipNinjaShoes")
GMSetting:addItem("Hacks", "^FFA500unlimited jumps", "Fly")
GMSetting:addItem("Hacks", "^FFA500Fast Break", "FastBreak")
GMSetting:addItem("Hacks", "^FFA500Aim Bow", "AimBow")
GMSetting:addItem("Hacks", "^FFA500NoFall", "NoFall")
GMSetting:addItem("Hacks", "^FFA500no fall damage", "NoFallDmg")
GMSetting:addItem("Hacks", "^FFA500no knock back", "NoKnockBack")
GMSetting:addItem("Hacks", "^FFA500KillAura", "KillAura")
GMSetting:addItem("Hacks", "^FFA500Skate", "Skate")
GMSetting:addItem("Hacks", "^FFA500AttackCD", "BanClickCD")
GMSetting:addItem("Hacks", "^FFA500Fast jumps", "FastJump")
GMSetting:addItem("Hacks", "^FFA500Reach", "Reach")
GMSetting:addItem("Hacks", "^FFA500Free camera", "FreeCamera")
GMSetting:addItem("Hacks", "^FFA500Fly", "DevFly")
GMSetting:addItem("Hacks", "^FFA500High Jump", "HighJump")
GMSetting:addItem("Hacks", "^FFA500Speed", "Speed")
GMSetting:addItem("Hacks", "SoftBypass Speed", "SoftBypassSpeed")
GMSetting:addItem("Hacks", "^FFA500QuickPlaceBlock", "QuickPlaceBlock")
GMSetting:addItem("Hacks", "^FFA500Respawn", "AutoRespawn")
GMSetting:addItem("Hacks", "^FFA500Blink", "Blink")
GMSetting:addItem("Hacks", "^FFA500AimBot", "AimBot")
GMSetting:addItem("Hacks", "^FFA500HitBox", "HitBox")
GMSetting:addItem("Hacks", "^FFA500Cannon Button", "CannonBtn")
GMSetting:addItem("Hacks", "^FFA500Jet Pack", "JetPack")
GMSetting:addItem("Hacks", "^FFA500Teleport Killer", "TeleportKiller")
GMSetting:addItem("Hacks", "^FFA500Teleport KillerV2", "TpKill")
GMSetting:addItem("Hacks", "^FFA500Teleport Click", "TpClick")
GMSetting:addItem("Hacks", "^FFA500Attack button", "AtkBtn")
GMSetting:addItem("Hacks", "^FFA500Anti Void", "AntiVoid")
GMSetting:addItem("Hacks", "^FFA500Un Death", "UnDeath")
GMSetting:addItem("Hacks", "^FFA500DeathChangePlace", "DeathChangePlace")
GMSetting:addItem("Hacks", "^FFA500BreakBlock", "BreakBlock")
GMSetting:addItem("Hacks", "^FFA500BedDestroyer", "BedDestroyer")
GMSetting:addItem("Hacks", "^FFA500RaketButton", "RaketButton")
GMSetting:addTab("ep", "CustomGUI")
GMSetting:addItem("CustomGUI", "^FF0000JetPack", "btnJetPack")
GMSetting:addItem("CustomGUI", "^FF0000HitBox", "BtnHitBox")
GMSetting:addItem("CustomGUI", "^FF0000Emote Freeze", "BtnEmoteFrezze")
GMSetting:addItem("CustomGUI", "^FF0000Button Cannon", "CannonBtn")
GMSetting:addTab("ep", "View")
GMSetting:addItem("View", "^FFA500Glowing Butterfly Wings", "equipWings", "117")
GMSetting:addItem("View", "^FFA500Chroma Wings", "equipWings", "27")
GMSetting:addItem("View", "^FFA500Dark Wings", "equipWings", "13")
GMSetting:addItem("View", "^FFA500Angel Wings", "equipWings", "1")
GMSetting:addItem("View", "^FFA500Golden Wings", "equipWings", "62")
GMSetting:addItem("View", "^FFA500Feather Wings", "equipWings", "42")
GMSetting:addItem("View", "^FFA500Vampire Wings", "equipWings", "60")
GMSetting:addItem("View", "^FFA500BlueMetal Wing", "equipWings", "24")
GMSetting:addItem("View", "^FFA500YellowMetal Wing", "equipWings", "20")
GMSetting:addItem("View", "^FFA500Orbital Rainbow Balls", "equipWings", "44")
GMSetting:addItem("View", "&$[ffca00ff-fbd33fff-cad2ceff-23b8feff-677dffff-
ac61ffff-fd15ffff]$Rainbow Name$&", "RainbowName")
GMSetting:addItem("View", "^FF0000Red Name", "SetNameColor", "Red")
GMSetting:addItem("View", "^0000FFBlue Name", "SetNameColor", "Blue")
GMSetting:addItem("View", "&$[ffca00ff-fbd33fff-]$Black Name$&", "SetNameColor",
"Black")
GMSetting:addItem("View", "^FFFFFFWhite Name", "SetNameColor", "White")
GMSetting:addItem("View", "^00FF00Green Name", "SetNameColor", "Green")
GMSetting:addItem("View", "^FFFF00Yellow Name", "SetNameColor", "Yellow")
GMSetting:addItem("View", "^800080PurpleName", "SetNameColor", "Purple")
GMSetting:addItem("View", "^FFC0CBPink Name", "SetNameColor", "Pink")
GMSetting:addItem("View", "^FFA500Orange Name", "SetNameColor", "Orange")
GMSetting:addItem("View", "^FFD700Gold Name", "SetNameColor", "Gold")
GMSetting:addItem("View", "^00FFFFCyan Name", "SetNameColor", "Cyan")
GMSetting:addItem("View", "^FF0000change Nickname", "ChangeNick")
GMSetting:addTab("ep", "ModsHacks")
GMSetting:addItem("ModsHacks", "^FFA500Unlock FPS", "UnlockFps")
GMSetting:addItem("ModsHacks", "^FFA500No Lag", "NoLag")
GMSetting:addItem("ModsHacks", "^FFA500WWE Camera", "WWE_Camera")
GMSetting:addItem("ModsHacks", "^FFA500Esp", "EspMode")
GMSetting:addItem("ModsHacks", "^FFA500Tracer", "Tracer")
GMSetting:addItem("Hacks", "^FFA500TPAllMobs ToME", "TPAllMobsToME")
GMSetting:addItem("ModsHacks", "^FFA500stop players", "StopPlayers")
GMSetting:addItem("ModsHacks", "^FFA500find enemy", "CountEnemies")
GMSetting:addItem("ModsHacks", "^FFA500DmgInc", "DmgInc")
GMSetting:addItem("ModsHacks", "^FFA500Hide Me", "HideMe")
GMSetting:addItem("ModsHacks", "runCode", "Runcode")
GMSetting:addItem("ModsHacks", "run file", "RunFile")
GMSetting:addItem("ModsHacks", "^FF0000Infinity Bridge", "infbrid1")
local Ep = [Link]():getGameType()
local Jb = (Ep == "g1027" or Ep == "g1014")
if Jb then
GMSetting:addTab("ep", "Customset")
GMSetting:addItem("Customset", "^FF0000resetValues", "restValues")
GMSetting:addItem("Customset", "^FFA500SetSpeed", "SetSpeed")
GMSetting:addItem("Customset", "^FFA500SetHighJump", "SetHighJump")
GMSetting:addItem("Customset", "^FFA500SetFov", "SetFov")
GMSetting:addItem("Customset", "^FFA500SetMaxFPS", "SetMaxFPS")
GMSetting:addItem("Customset", "^FFA500ShowHP", "ShowHP")
GMSetting:addItem("Customset", "^FFA500HideHP", "HideHP")
GMSetting:addItem("Customset", "^FFA500Day", "Day")
GMSetting:addItem("Customset", "^FFA500Night", "Night")
GMSetting:addItem("Customset", "^FFA500Evening", "Evening")
GMSetting:addItem("Customset", "^FFA500Snow", "Snow")
end
GMSetting:addTab("ep", "Panel")
GMSetting:addItem("Panel", "^FFAF00Hide/Show GM", "HidePanel")
GMSetting:addItem("Panel", "^FFAF00DDOS", "LagServer2")
GMSetting:addItem("Panel", "^FFAF00re-Enter", "reEnter")
GMSetting:addItem("Panel", "^FFAF00CloseGame", "closeGame")
GMSetting:addTab("ep", "AdminTools")
GMSetting:addItem("AdminTools", "Unlimited Gcubes", "Money")
GMSetting:addItem("AdminTools", "Fake Cash", "Jiang")
GMSetting:addItem("AdminTools", "StarlightDDOS", "guesten")
GMSetting:addItem("AdminTools", "no ban", "bypassId16")
GMSetting:addTab("ep", "Skybox")
GMSetting:addItem("Skybox", "yu", "yu")
GMSetting:addItem("Skybox", "liuxing", "liuxing")
GMSetting:addItem("Skybox", "xue", "xue")
GMSetting:addItem("Skybox", "fanxing", "fanxing")
GMSetting:addItem("Skybox", "qing", "qing")
GMSetting:addItem("Skybox", "wanxia", "wanxia")
GMSetting:addItem("Skybox", "sky2", "sky2")
GMSetting:addItem("Skybox", "starfield04", "starfield04")
GMSetting:addTab("ep", "ClothesSet")
local items = {
{text = "^FFA500Face +", key = "FacePositive"},
{text = "^FFA500Face -", key = "FaceNegative"},
{text = "^FFA500Glasses +", key = "GlassesPositive"},
{text = "^FFA500Glasses -", key = "GlassesNegative"},
{text = "^FFA500Hair +", key = "HairPositive"},
{text = "^FFA500Hair -", key = "HairNegative"},
{text = "^FFA500Pants +", key = "PantsPositive"},
{text = "^FFA500Pants -", key = "PantsNegative"},
{text = "^FFA500Scarf +", key = "ScarfPositive"},
{text = "^FFA500Scarf -", key = "ScarfNegative"},
{text = "^FFA500Shoes +", key = "ShoesPositive"},
{text = "^FFA500Shoes -", key = "ShoesNegative"},
{text = "^FFA500Tops +", key = "TopsPositive"},
{text = "^FFA500Tops -", key = "TopsNegative"},
{text = "^FFA500Wing +", key = "WingPositive"},
{text = "^FFA500Wing -", key = "WingNegative"},
}
addVisibleItemsWithSpacing(items)
GMSetting:addTab("ep", "AddVIP")
local vipItems = {
{text = "^FFA500Vip1", key = "UpdatePlayerNickname"},
{text = "^FFA500Vip2", key = "UpdatePlayerNickname2"},
{text = "^FFA500Vip3", key = "UpdatePlayerNickname3"},
{text = "^FFA500Vip4", key = "UpdatePlayerNickname4"},
{text = "^FFA500Vip5", key = "UpdatePlayerNickname5"},
{text = "^FFA500Vip6", key = "UpdatePlayerNickname6"},
{text = "^FFA500Vip7", key = "UpdatePlayerNickname7"},
{text = "^FFA500Vip8", key = "UpdatePlayerNickname8"},
{text = "^FFA500Vip9", key = "UpdatePlayerNickname9"},
{text = "^FFA500Vip10", key = "UpdatePlayerNickname10"},
{text = "^FFA500Vip11", key = "UpdatePlayerNickname11"},
}
addVisibleVipItems(vipItems)
local Ep = [Link]():getGameType()
if Ep == "g1027" then
GMSetting:addTab("ep", "sky royale")
GMSetting:addItem("sky royale", "^00FFFFAuto Bridge", "BuildBlock")
GMSetting:addItem("sky royale", "^FF0000Tp to Red", "TpRedSR")
GMSetting:addItem("sky royale", "^0000FFTp to Blue", "TpBlueSR")
GMSetting:addItem("sky royale", "^FFFF00Tp to Yellow", "TpYellowSR")
GMSetting:addItem("sky royale", "^008000Tp to Green", "TpGreenSR")
elseif Ep == "g1072" then
GMSetting:addTab("ep", "clan wars")
GMSetting:addItem("clan wars", "^FF0000Tp to Red Clan", "tp_flag1")
GMSetting:addItem("clan wars", "^0000FFTp to Blue Clan", "tp_flag2")
GMSetting:addItem("clan wars", "^00FFFFattack player",
"AttackAllNearbyPlayers")
elseif Ep == "g1014" then
GMSetting:addTab("ep", "jail break")
GMSetting:addItem("jail break", "^00FFFFTp Police", "TpPolice")
GMSetting:addItem("jail break", "^00FFFFTp Jail", "TpJail")
GMSetting:addItem("jail break", "^00FFFFTp Bink", "TpBank")
GMSetting:addItem("jail break", "^00FFFFTp Shop", "TpShop")
GMSetting:addItem("jail break", "^00FFFFTp JailShop", "TpJailShop")
GMSetting:addItem("jail break", "^00FFFFTp Library", "TpLibrary")
GMSetting:addItem("jail break", "^00FFFFTp McDonald", "TpMcDonald")
GMSetting:addItem("jail break", "^00FFFFTp Church", "TpChurch")
GMSetting:addItem("jail break", "^00FFFFTp Trade (1)", "TpTrade1")
GMSetting:addItem("jail break", "^00FFFFTp TradeV2 (1)", "TpTrade2_V1")
GMSetting:addItem("jail break", "^00FFFFTp TradeV2 (2)", "TpTrade2_V2")
elseif Ep == "g1055" then
GMSetting:addTab("ep", "WWE Sim")
GMSetting:addItem("WWE Sim", "^00FFFFEdit Size", "EditSize")
GMSetting:addItem("WWE Sim", "^00FFFFAuto Sell", "AutoSell")
GMSetting:addItem("WWE Sim", "^00FFFFInf Shiled", "InfShield")
GMSetting:addItem("WWE Sim", "^00FFFFEquip Sun", "EquipSun")
GMSetting:addItem("WWE Sim", "^00FFFFEquip Earth", "EquipEarth")
GMSetting:addItem("WWE Sim", "^00FFFFEquip Air Craft", "EquipAirCraff")
GMSetting:addItem("WWE Sim", "^00FFFFChange Skin (WWE Sim)",
"ChangeSkinSim")
GMSetting:addItem("WWE Sim", "^00FFFFHeal Skin (WWE Sim)", "HealSim")
end
GMSetting:addTab("ep", "credits")
local items = {
{text = "^FF0000==》", key = "a"},
{text = "Credits", key = "b"},
{text = "^FF0000YouTube", key = "c"},
{text = "", key = "d"},
{text = "", key = "e"},
{text = "^FF0000==》", key = "f"},
{text = "^FFA500Crixus", key = "g"},
{text = "^FFA500@crixusreal", key = "h"},
{text = "", key = "i"},
{text = "", key = "j"},
{text = "^FF0000==》", key = "k"},
{text = "^FFA500 ヮカ奥【Λ rix】", key = "l"},
{text = "^FFA500@Arixcrixus", key = "m"},
{text = "^FF0000==》", key = "n"},
{text = "^FFA500 Ericfox【依デび】", key = "o"},
{text = "^FFA500@realEricfox", key = "p"},
}
function GMSetting:addItem()
local alphabet = "abcdefghijklmnopqrstuvwxyz"
for i = 1, #alphabet do
local char = alphabet:sub(i, i)
local itemName = "item_" .. char
local item = {
name = itemName,
quantity = 100
}
PlayerManager:getClientPlayer():addItemToInventory(item)
[Link]("Added: " .. itemName)
end
end
function GMSetting:getSettings()
return Settings
end
GMHelper = {}
local on = 'on'
local off = 'off'
fun1 = off
fun2 = off
fun3 = off
fun4= off
fun5 = off
fun6 = off
fun7 = off
fun8 = off
fun9 = off
fun10 = off
fun11 = off
fun12 = off
fun13 = off
fun14 = off
fun15 = off
fun16 = off
fun17 = off
fun18 = off
fun20 = off
fun21 = off
fun22 = off
fun23 = off
fun24 = off
fun25 = off
fun26 = off
fun27 = off
fun28 = off
fun29 = off
fun30 = off
fun31 = off
fun32 = off
fun33 = off
fun34 = off
fun35 = off
fun36 = off
fun37 = off
fun38 = off
fun39 = off
fun40 = off
fun41 = off
fun42 = off
fun43 = off
fun44 = off
fun45 = off
fun46 = off
fun47 = off
fun48 = off
fun49 = off
fun50 = off
fun51 = off
fun52 = off
fun53 = off
fun54 = off
fun55 = off
fun56 = off
fun57 = off
fun58 = off
fun59 = off
fun60 = off
fun61 = off
fun62 = off
fun63 = off
fun64 = off
fun65 = off
fun66 = off
fun67 = off
fun68 = off
fun69 = off
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()
function UIGMTab:onLoad()
[Link] = self:getChildWindowByName("GMButton", [Link])
[Link]:SetBordered(true)
[Link]:registerEvent([Link], function()
if currentSelectedTab and currentSelectedTab ~= self then
currentSelectedTab:resetTabColor()
end
currentSelectedTab = self
self:setSelectedTabColor()
GUIGMControlPanel:selectTab([Link])
end)
[Link]:SetProperty("Font", "HT14")
if [Link]:GetTextWidth() > [Link]:GetPixelSize().x then
[Link]:SetProperty("Font", "HT14")
if [Link]:GetTextWidth() > [Link]:GetPixelSize().x then
[Link]:SetProperty("Font", "HT10")
[Link](205)
end
end
function UIGMTab:setSelectedTabColor()
[Link]:SetBackgroundColor({ 1, 0.5, 0, 1 }) -- Orange background
[Link](205)
end
function UIGMTab:resetTabColor()
-- Dark background with bright white text for unselected tabs
[Link]:SetBackgroundColor({ 0.1, 0.1, 0.1, 0.8 })
local r, g, b = getBrightWhiteShades(0.9) -- Bright white text
[Link]:SetTextColor({r, g, b, 1.0})
[Link](205)
end
function UIGMTab:onTabChange(newTab)
if newTab ~= [Link] then
self:resetTabColor()
UIGMItem:onDataChanged(data)
[Link](self)
GMSetting:addItem(itemName)
[Link](205)
end
end
function UIGMItem:setSelectedItemColor()
[Link] = true
-- Bright white background for selected item
[Link]:SetBackgroundColor({1.0, 1.0, 1.0, 0.9})
[Link]:SetTextColor({0.1, 0.1, 0.1, 1.0}) -- Dark text for contrast
function UIGMItem:onItemChange(newItem)
if newItem ~= [Link] then
[Link](self)
self:setSelectedItemColor()
[Link](205)
end
end
function UIGMControlPanel:onLoad()
[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)
if [Link] then
-- Typewriter effect: add one character at a time
if [Link] < #currentText then
[Link] = [Link] +
1
[Link] = currentText:sub(1,
[Link])
stFilterText:SetText([Link])
else
-- Finished typing current text, start pause
[Link] = false
[Link] = 0
end
elseif [Link] then
-- Backspace effect: remove one character at a time
if [Link] > 0 then
[Link] = [Link] -
1
[Link] = currentText:sub(1,
[Link])
stFilterText:SetText([Link])
else
-- Finished deleting, move to next text
[Link] = false
[Link] = true
[Link] = [Link] %
#[Link] + 1
end
else
-- Pause between typing and deleting
[Link] = [Link] + 1
if [Link] >= [Link] then
[Link] = true
end
end
end
local r, g, b, a = getOrangeShade(orangeValue)
stFilterText:SetTextColor({ r, g, b, a })
end
[Link] = self:getChildWindow("GMControlPanel-FilterValue",
[Link])
[Link]:SetMaxLength(500)
[Link]:SetBackgroundColor({ 0.0, 0.0, 0.0, 0.0 }) -- Transparent
background
[Link]:registerEvent([Link], function(args)
if [Link] == 0 then
self:selectTab([Link])
end
end)
[Link]:SetMaxLength(1200)
[Link]:SetVisible(true)
[Link]:SetTextColor({ 1.0, 0.6, 0.2, 1.0 }) -- Orange text color
[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 VersionDisplay()
local versionWindow = GUIManager:createGUIWindow([Link], "GUIRoot-
VersionDisplay")
versionWindow:SetVisible(true)
orangeHue = (orangeHue + 1) % 628 -- Using 628 for 2*PI * 100 for smooth
sine waves
local r, g, b = generateOrangeColor(orangeHue)
versionWindow:SetTextColor({ r, g, b, 0.8 })
end
versionWindow:SetWidth({0, 150})
versionWindow:SetHeight({0, 20})
versionWindow:SetXPosition({0, 15})
versionWindow:SetYPosition({0, 580})
versionWindow:SetBordered(true)
[Link]():GetRootWindow():AddChildWindow(versionWindow)
counterWindow:SetWidth({0, 100})
counterWindow:SetHeight({0, 20})
counterWindow:SetXPosition({0, 15})
counterWindow:SetYPosition({0, 620})
counterWindow:SetBordered(true)
[Link]():GetRootWindow():AddChildWindow(counterWindow)
function Fps()
local DATS = GUIManager:createGUIWindow([Link], "GUIRoot-Fps")
DATS:SetVisible(true)
DATS:SetText(YUE)
DATS:SetWidth({0, 150})
DATS:SetHeight({0, 20})
DATS:SetXPosition({0, 15})
DATS:SetBordered(true)
DATS:SetYPosition({0, 660})
[Link]():GetRootWindow():AddChildWindow(DATS)
LuaTimer:scheduleTimer(Updates, 100, -1)
end
function Pose()
local POS = GUIManager:createGUIWindow([Link], "GUIRoot-Pose")
POS:SetVisible(true)
POS:SetText(DC)
POS:SetWidth({0, 200})
POS:SetHeight({0, 20})
POS:SetXPosition({0, 15})
POS:SetBordered(true)
POS:SetYPosition({0, 640})
[Link]():GetRootWindow():AddChildWindow(POS)
function Credits()
local GUF = GUIManager:createGUIWindow([Link], "GUIRoot-Ping")
GUF:SetVisible(true)
local texts = {
"CrixusPanel 1.5 [VERSION:" .. getGameVersion() .. "]"
}
local textIndex = 1
local currentText = texts[textIndex]
local currentCharIndex = 0
local displayText = ""
local localOrangeHue = 0
local isTyping = true
local isDeleting = false
local pauseTimer = 0
local pauseDuration = 2000 -- 2 seconds pause between texts
Credits()
function createWhatsNewGUI()
print("Starting GUI creation...")
Back:SetHorizontalAlignment([Link])
Back:SetVerticalAlignment([Link])
Back:SetHeight({0, 400})
Back:SetWidth({0, 780})
Back:SetLevel(999)
Back:SetTouchable(true)
Back:SetBackgroundColor({0.1, 0.1, 0.1, 0.8})
Back:SetVisible(true)
Back:SetYPosition({0, 0})
Back:SetXPosition({0, 0})
Back:AddChildWindow(closeButton)
print("✓ Close button created")
else
print("❌ ERROR: Failed to create close button")
end
if Scroll then
Scroll:SetHorizontalAlignment([Link])
Scroll:SetVerticalAlignment([Link])
Scroll:SetHeight({0, 400})
Scroll:SetWidth({0, 740})
Scroll:SetYPosition({0, 50})
Scroll:SetXPosition({0, 0})
Scroll:SetTouchable(true)
Scroll:SetLevel(1)
Scroll:SetVisible(true)
Scroll:SetBackgroundColor({0, 0, 0, 1})
Scroll:SetMoveAble(true)
local updates = {
"CrixusPanel 1.5 New Updates !!!",
"Panel fully Re-created With New Cheats and more features",
"Added New Gui panel in Bedwars 1.0",
"Fixed AimBot, Killaura, HitBox and etc.",
"",
"What's coming soon in 2.0",
"More Cheats in bedwars and improved panel",
"InfinityKillaura and AutoBridge and softBypass",
"",
"CrixusPanel by Arixhacker",
"Gui Designed By Ericfire"
}
Back:AddChildWindow(Scroll)
print("✓ Scroll container added to Back")
else
print("❌ ERROR: Failed to create scroll container")
end
hide = function()
print("Hiding What's New panel")
Back:SetVisible(false)
end,
toggle = function()
local current = Back:IsVisible()
Back:SetVisible(not current)
print("Toggled What's New panel: " .. tostring(not current))
end
}
return Back
end
-- Simple execution
local function initializeGUI()
local success, errorMsg = pcall(function()
createWhatsNewGUI()
end)
-- Test message
if MsgSender and [Link] then
[Link]("[CrixusPanel]: What's New GUI loaded! Use /whatsnew to
show.")
end
-- Chat command
if Command and [Link] then
[Link]("whatsnew", function()
if _G.WhatsNew and _G.[Link] then
_G.[Link]()
else
print("WhatsNew not available, recreating...")
createWhatsNewGUI()
end
end)
print("✓ Registered /whatsnew command")
end
function GMHelper:Fly(text)
A = not A
if A then
[Link]("EnableDoubleJumps", true)
PlayerManager:getClientPlayer().doubleJumpCount = 99999999999
text:SetBackgroundColor([Link])
else
[Link]("EnableDoubleJumps", false)
PlayerManager:getClientPlayer().doubleJumpCount = 1
text:SetBackgroundColor([Link])
end
end
function GMHelper:FastBreak(text)
A = not A
if A then
[Link](66):setNeedRender(false)
[Link](253):setNeedRender(false)
function GMHelper:getItem(id)
PlayerManager:getClientPlayer().Player:getInventory():addItemToInventory([Link]
emById(tonumber(id), 1, nil, nil), 1)
end
yaw = [Link]
pitch = [Link]
LuaTimer:scheduleTimer(function()
setPosTest(targetPos)
end, 0.015, 1)
return
end
LuaTimer:scheduleTimer(function()
setPosTest(targetPos)
end, 0.015, 1)
return
end
targetPos = checkBlock(targetPos)
[Link] = true
local abovePos = VectorUtil.newVector3(targetPos.x, targetPos.y + 1.3,
targetPos.z)
clientPlayer:setPosition(abovePos)
[Link] = false
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
[Link] = yaw
[Link] = pitch
[Link]("SyncClientPositionToServer", false)
clientPlayer:setPosition(abovePos)
local timeLeft = 1
tmLft = LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
timeLeft = timeLeft - 1
if timeLeft <= 0 then
[Link]("SyncClientPositionToServer", true)
LuaTimer:cancel(tmLft)
clientPlayer:moveEntity(VectorUtil.newVector3(0, 1.35, 0))
clientPlayer:setAllowFlying(true)
clientPlayer:setFlying(true)
LuaTimer:schedule(function()
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
end, 0.05)
end
end, 0.015, 1)
end
function GMHelper:TpRedSR()
local targetPos = VectorUtil.newVector3(64, 24, 445)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpBlueSR()
local targetPos = VectorUtil.newVector3(127, 29, 383)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpGreenSR()
local targetPos = VectorUtil.newVector3(128, 24, 506)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpYellowSR()
local targetPos = VectorUtil.newVector3(190, 24, 446)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpJailShop()
local targetPos = VectorUtil.newVector3(392.98, 63.62, 163.05)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpShop()
local targetPos = VectorUtil.newVector3(228.16, 63.62, 47.35)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpChurch()
local targetPos = VectorUtil.newVector3(262.40, 63.62, 102.52)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpBank()
local targetPos = VectorUtil.newVector3(124.05, 63.62, 178.14)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpMcDonald()
local targetPos = VectorUtil.newVector3(217.14, 63.62, 178.98)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpPolice()
local targetPos = VectorUtil.newVector3(312.23, 63.62, 232.14)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpJail()
local targetPos = VectorUtil.newVector3(339.97, 63.62, 290.51)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpLibrary()
local targetPos = VectorUtil.newVector3(228.67, 63.62, 259.24)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpTrade1()
local targetPos = VectorUtil.newVector3(180.57, 66.62, 236.83)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpTrade2_V1()
local targetPos = VectorUtil.newVector3(180.43, 66.62, 230.84)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:TpTrade2_V2()
local targetPos = VectorUtil.newVector3(179.61, 66.62, 225.33)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:tp_flag1()
local targetPos = VectorUtil.newVector3(-173.54, 67.62, -22.40)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:tp_flag2()
local targetPos = VectorUtil.newVector3(60.40, 67.62, -52.78)
setPosTest(targetPos)
GUIGMControlPanel:hide()
end
function GMHelper:NoKnockBack(text)
NoKnockbackEnabled = not NoKnockbackEnabled
if NoKnockbackEnabled then
text:SetBackgroundColor([Link])
[Link] = [Link]
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)
else
text:SetBackgroundColor([Link])
[Link] = [Link]
if NoKnockbackTimer then
LuaTimer:cancel(NoKnockbackTimer)
NoKnockbackTimer = nil
end
lastPosition = nil
lastHealth = nil
end
end
-- no fall damage
GMHelper = GMHelper or {}
[Link] = false
[Link] = nil
[Link] = nil
[Link] = 5
function GMHelper:NoFallDamg(text)
[Link] = not [Link]
if [Link] then
LuaTimer:cancel([Link])
[Link] = nil
end
PlayerManager:getClientPlayer().[Link] = false
text:SetBackgroundColor([Link])
if [Link] then
[Link] = LuaTimer:scheduleTimer(function()
local player = PlayerManager:getClientPlayer().Player
local currentY = player:getPosition().y
text:SetBackgroundColor([Link])
end
if [Link] then
LuaTimer:scheduleTimer(function()
local player = PlayerManager:getClientPlayer()
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]:setPosition(VectorUtil.newVector3(currentPos.x, currentPos.y + 1,
currentPos.z))
EngineWorld:setBlock(VectorUtil.newVector3(currentPos.x,
currentPos.y - 0.1, currentPos.z), 8)
[Link] = false
end
end
end
end, 0.5, -1)
end
end
function GMHelper:BreakBlock()
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
if togEnableBreakBlocks then
[Link]:registerCallBack(breakBlock)
[Link]:registerCallBack(placeBlock)
[Link]("on")
else
[Link]:unregisterCallBack(breakBlock)
[Link]:unregisterCallBack(placeBlock)
[Link]("off")
end
end
function GMHelper:HitBox(text)
a = not a
if a then
text:SetBackgroundColor([Link])
local players = PlayerManager:getPlayers()
function GMHelper:UnDeath(text)
local function setPosTest(targetPos)
if targetPos.y < 10 then return end
targetPos = checkBlock(targetPos)
clientPlayer:setPosition(targetPos)
if togRespawnInSamePlace then
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)
text:SetBackgroundColor([Link])
[Link] = [Link]
end
end
function RG_posTest(targetPos)
if targetPos.y < 10 then return end
LuaTimer:scheduleTimer(function()
RG_posTest(targetPos)
end, 80.55, 1)
return
end
LuaTimer:scheduleTimer(function()
RG_posTest(targetPos)
end, 80.56, 1)
return
end
[Link] = true
targetPos = checkBlock(targetPos)
clientPlayer:setPosition(targetPos)
[Link] = false
local timeLeft = 1
tmLft = LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
timeLeft = timeLeft - 1
if timeLeft == 0 or timeLeft == -1 then
[Link]("SyncClientPositionToServer", true)
LuaTimer:cancel(tmLft)
clientPlayer:moveEntity(VectorUtil.newVector3(0, 1.35, 0))
clientPlayer:setAllowFlying(true)
clientPlayer:setFlying(true)
LuaTimer:schedule(function()
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
end, 0.05)
end
end, 0.06, 1)
end
function GMHelper:AntiVoid(text)
antiVoidEnabled = not antiVoidEnabled
if antiVoidEnabled then
text:SetBackgroundColor([Link])
[Link] = [Link]
if void then
LuaTimer:cancel(void)
void = nil
end
originalPos = nil
end
end
function GMHelper:Reach(text)
A = not A
[Link]("BlockReachDistance", 999)
[Link]("EntityReachDistance", 9999)
text:SetBackgroundColor([Link])
if A then
text:SetBackgroundColor([Link])
return
end
[Link]("BlockReachDistance", 6.5)
[Link]("EntityReachDistance", 9999)
text:SetBackgroundColor([Link])
end
function GMHelper:WWE_Camera()
A = not A
[Link]("IsSeparateCamera", true)
if A then
return
end
[Link]("IsSeparateCamera", false)
end
function GMHelper:BowSpeed(text)
[Link]("BowPullingSpeedMultiplier", 1000)
[Link]("BowPullingFOVMultiplier", 0)
text:SetBackgroundColor([Link])
GUIGMControlPanel:hide()
end
function GMHelper:BanClickCD(text)
A = not A
[Link]("banClickCD", true)
if A then
text:SetBackgroundColor([Link])
return
end
[Link]("banClickCD", false)
text:SetBackgroundColor([Link])
end
function GMHelper:RunFile()
local file_path =
"/storage/emulated/0/Android/data/[Link]/[Link]/"
local file, error = [Link](file_path, "r")
if file then
local content = file:read("*a")
file:close()
local func, error = load(content)
if func then
pcall(func)
end
end
end
function GMHelper:infbrid1()
function ModuleBlockConfig:init()
local config = [Link]("module_block/ModuleBlock", true)
or {}
[Link] = [Link] or 2
[Link] = 99999999999
[Link] = 9999999999999
if isClient then
[Link]("RunLimitCheck", [Link] or 10)
[Link]("SprintLimitCheck", [Link]
or 10)
end
config = [Link]("module_block/[Link]", 2, true,
true) or {}
for _, item in pairs(config) do
local data = {
id = tonumber([Link]),
itemId = tonumber([Link]),
teamId = tonumber([Link]) or 0,
consumeNum = tonumber([Link]) or 1,
schematic = [Link],
offsetX = tonumber([Link]) or 0,
offsetZ = tonumber([Link]) or 0,
image = [Link],
extraParam = tonumber([Link]) or 0,
}
Settings[[Link]] = Settings[[Link]] or {}
[Link](Settings[[Link]], data)
end
for _, setting in pairs(Settings) do
[Link](setting, function(a, b)
return [Link] < [Link]
end)
end
end
function ModuleBlockConfig:getModuleBlocks(itemId)
return Settings[itemId]
end
function ModuleBlockConfig:getDefaultModuleId(itemId)
local modules = Settings[itemId]
if [Link](modules) then
return 0
end
return modules[1].id
end
function ModuleBlockConfig:hasConfig()
return not [Link](Settings)
end
ModuleBlockConfig:init()
[Link]("^00FF00ON")
GUIGMControlPanel:hide()
end
function GMHelper:JetPack(text)
BJF = not BJF
if BJF then
text:SetBackgroundColor([Link])
[Link] = [Link]
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)
else
text:SetBackgroundColor([Link])
[Link] = [Link]
LuaTimer:cancel(BJFS)
end
end
function GMHelper:Speed(text)
A = not A
if A then
text:SetBackgroundColor([Link])
[Link] = [Link]
PlayerManager:getClientPlayer().Player:setSpeedAdditionLevel(150000)
else
PlayerManager:getClientPlayer().Player:setSpeedAdditionLevel(1)
text:SetBackgroundColor([Link])
[Link] = [Link]
end
end
function GMHelper:AtkBtn(text)
local AtkBtn = GUIManager:getWindowByName("Main-Gun-Operate-RightShootBtn")
togAtkBtn = not togAtkBtn
if togAtkBtn then
local throwpotControls = GUIManager:getWindowByName("Main-throwpot-
Controls")
throwpotControls:SetVisible(true)
throwpotControls:SetXPosition({0, 0})
throwpotControls:SetYPosition({0, -170})
if AtkBtn then
AtkBtn:SetVisible(true)
AtkBtn:SetAlwaysOnTop(true)
AtkBtn:SetLevel(1)
AtkBtn:SetYPosition({0, 400})
AtkBtn:SetProperty("NormalImage", "set:main_btn.json image:skill_btn")
AtkBtn:SetProperty("PushedImage", "set:main_btn.json image:skill_btn")
AtkBtn:SetXPosition({1, -355})
AtkBtn:SetHeight({0, 120})
AtkBtn:SetWidth({0, 120})
AtkBtn:setEnableLongTouch(true)
AtkBtn:registerEvent([Link], enableCollimatorMode)
AtkBtn:registerEvent([Link], enableCollimatorMode)
AtkBtn:registerEvent([Link], disableCollimatorMode)
AtkBtn:registerEvent([Link], enableCollimatorMode)
AtkBtn:registerEvent([Link], enableCollimatorMode)
AtkBtn:registerEvent([Link], disableCollimatorMode)
AtkBtn:registerEvent([Link], disableCollimatorMode)
AtkBtn:registerEvent([Link],
function(pos, blockID)
[Link]("^FF0000Block Broken at: " .. tostring(pos))
end
)
else
print("Shoot button not found!")
end
return
end
if AtkBtn then
AtkBtn:SetVisible(false)
else
print("Shoot button not found!")
end
end
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
function GMHelper:EspMode(text)
LuaTimer:scheduleTimer(function()
if espEnabled then
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
end, 5)
if espEnabled then
text:SetBackgroundColor([Link])
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
else
text:SetBackgroundColor([Link])
local hoomans = PlayerManager:getPlayers()
for _, nubs in pairs(hoomans) do
if [Link] then
[Link]:disableXRay()
end
end
processedPlayers = {}
colorIndex = 1
end
end
function GMHelper:KillAura(text)
[Link] = not [Link]
if [Link] then
[Link]("^FF00EEKillAura Enabled")
text:SetBackgroundColor([Link])
[Link] = [Link]
-- Simulate attack
[Link]():handleTouchClick(800, 360)
[Link]("^00FF00PlayerInfo: " ..
(closestPlayer:getName() or "Unknown"))
end
end
end, 100, -1) -- Run every 100ms
else
[Link]("^FF0000KillAura Disabled")
text:SetBackgroundColor([Link])
[Link] = [Link]
function GMHelper:CountEnemies()
local me = PlayerManager:getClientPlayer()
if not me or not [Link] then
print("Error: Client player not found")
return
end
function GMHelper:DmgInc()
local playerHealthData = {}
[Link]:registerCallBack(function(userId)
local player = PlayerManager:getPlayerByUserId(userId)
if player and player ~= PlayerManager:getClientPlayer() then
updateHealth([Link], player:getHealth())
end
end)
[Link]:registerCallBack(function(entityId, health)
LuaTimer:schedule(function()
if PlayerManager:getPlayerByEntityId(entityId) then
updateHealth(entityId, health)
end
end, 1000)
end)
[Link]:registerCallBack(function(entityId)
local target = PlayerManager:getPlayerByEntityId(entityId)
if not target then return end
for _, v in ipairs(playerHealthData) do
if [Link] == entityId then
local newHealth = target:getHealth()
local dmg = [Link] - newHealth
if dmg > 0 then
[Link]():addFloatNumber("number_" .. dmg,
target:getPosition(), 2, 1)
end
break
end
end
end)
for _, p in pairs(PlayerManager:getPlayers()) do
if p ~= PlayerManager:getClientPlayer() then
updateHealth([Link], p:getHealth())
end
end
[Link]("^00FF00Enabled")
end
function GMHelper:Runcode(code)
togrunCode = false
GMHelper:openInput({""}, function(input)
if input == "" then
return
end
function GMHelper:HidePanel(text)
HidePaneltog = not HidePaneltog
if HidePaneltog then
text:SetBackgroundColor([Link])
GUIManager:getWindowByName("GUIRoot-Fps"):SetVisible(false)
GUIManager:getWindowByName("GUIRoot-PlayerCounter"):SetVisible(false)
GUIManager:getWindowByName("GUIRoot-Ping"):SetVisible(false)
GUIManager:getWindowByName("GUIRoot-Pose"):SetVisible(false)
GUIManager:getWindowByName("GMMain-Open"):SetAlpha(0)
[Link]("^FFA500Panel has been Hided")
else
text:SetBackgroundColor([Link])
GUIManager:getWindowByName("GUIRoot-Fps"):SetVisible(true)
GUIManager:getWindowByName("GUIRoot-PlayerCounter"):SetVisible(true)
GUIManager:getWindowByName("GUIRoot-Ping"):SetVisible(true)
GUIManager:getWindowByName("GUIRoot-Pose"):SetVisible(true)
GUIManager:getWindowByName("GMMain-Open"):SetAlpha(1)
[Link]("^FFA500Panel has been Showed")
end
end
function GMHelper:closeGame()
[Link]("^FFA500Bye")
[Link]():exitGame("normal")
end
function GMHelper:reEnter()
gameType = [Link]():getGameType() or "g1001"
targetId = targetId or Game:getPlatformUserId()
mapId = mapId or ""
[Link]("^FFA500Resetting...")
[Link]():resetGame(gameType, targetId, mapId)
end
function GMHelper:MovablePanel()
CenterToastg2 = GUIManager:getWindowByName("GMMain-Open")
togmoving = not togmoving
if togmoving then
[Link]("^00FF00MovableGM ON")
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)
[Link]():GetRootWindow():AddChildWindow(CenterToastg2)
CenterToastg2:SetVisible(true)
CenterToastg2:SetYPosition({0, -273})
CenterToastg2:SetXPosition({0, 0})
local move = function(w)
[Link] = LuaTimer:scheduleTimer(function()
if not [Link]().m_gameSettings:isMouseMoving() then
local mousePos =
[Link]().m_gameSettings:getMousePos()
CenterToastg2:SetXPosition({0, mousePos.x / 2.3 - 390})
CenterToastg2:SetYPosition({0, mousePos.y / 2.3 - 305})
end
end, 5, 250)
end
CenterToastg2:registerEvent([Link], move)
CenterToastg2:registerEvent([Link], function()
isTest = true
GUIGMControlPanel:show()
LuaTimer:scheduleTimer(function() end, 5, 100)
isTest = false
end)
else
[Link]("^FF0000MovableGM OFF")
if CenterToastg2 then
CenterToastg2:SetTouchable(true)
CenterToastg2:SetWidth({ 0, 50 })
CenterToastg2:SetHeight({ 0, 50 })
CenterToastg2:SetXPosition({0, 0})
CenterToastg2:SetYPosition({0, -273})
if move then move = nil end
end
end
end
function GMHelper:CannonBtn(text)
local canon = GUIManager:getWindowByName("Main-Cannon")
A = not A
text:SetBackgroundColor([Link])
[Link] = [Link]
canon:SetVisible(false)
[Link]("^FF0000Cannon OFF")
if A then
text:SetBackgroundColor([Link])
[Link] = [Link]
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:HairPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_hairID then
player.m_hairID = 0
end
player.m_hairID = player.m_hairID + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Hair ID is now " .. player.m_hairID)
end
function GMHelper:HairNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_hairID then
player.m_hairID = 0
end
player.m_hairID = player.m_hairID - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Hair ID is now " .. player.m_hairID)
end
function GMHelper:FacePositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_faceID then
player.m_faceID = 0
end
player.m_faceID = player.m_faceID + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Face ID is now " .. player.m_faceID)
end
function GMHelper:FaceNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_faceID then
player.m_faceID = 0
end
player.m_faceID = player.m_faceID - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Face ID is now " .. player.m_faceID)
end
function GMHelper:TopsPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_topsID then
player.m_topsID = 0
end
player.m_topsID = player.m_topsID + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Tops ID is now " .. player.m_topsID)
end
function GMHelper:TopsNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_topsID then
player.m_topsID = 0
end
player.m_topsID = player.m_topsID - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Tops ID is now " .. player.m_topsID)
end
function GMHelper:PantsPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_pantsID then
player.m_pantsID = 0
end
player.m_pantsID = player.m_pantsID + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Pants ID is now " .. player.m_pantsID)
end
function GMHelper:PantsNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_pantsID then
player.m_pantsID = 0
end
player.m_pantsID = player.m_pantsID - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Pants ID is now " .. player.m_pantsID)
end
function GMHelper:ShoesPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_shoesID then
player.m_shoesID = 0
end
player.m_shoesID = player.m_shoesID + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Shoes ID is now " .. player.m_shoesID)
end
function GMHelper:ShoesNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_shoesID then
player.m_shoesID = 0
end
player.m_shoesID = player.m_shoesID - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Shoes ID is now " .. player.m_shoesID)
end
function GMHelper:GlassesPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_glassesId then
player.m_glassesId = 0
end
player.m_glassesId = player.m_glassesId + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Glasses ID is now " .. player.m_glassesId)
end
function GMHelper:GlassesNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_glassesId then
player.m_glassesId = 0
end
player.m_glassesId = player.m_glassesId - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Glasses ID is now " .. player.m_glassesId)
end
function GMHelper:ScarfPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_scarfId then
player.m_scarfId = 0
end
player.m_scarfId = player.m_scarfId + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Scarf ID is now " .. player.m_scarfId)
end
function GMHelper:ScarfNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_scarfId then
player.m_scarfId = 0
end
player.m_scarfId = player.m_scarfId - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Scarf ID is now " .. player.m_scarfId)
end
function GMHelper:WingPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_wingId then
player.m_wingId = 0
end
player.m_wingId = player.m_wingId + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Wing ID is now " .. player.m_wingId)
end
function GMHelper:WingNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_wingId then
player.m_wingId = 0
end
player.m_wingId = player.m_wingId - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Wing ID is now " .. player.m_wingId)
end
function GMHelper:CrownPositive()
local player = PlayerManager:getClientPlayer().Player
if not player.m_crownId then
player.m_crownId = 0
end
player.m_crownId = player.m_crownId + 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Crown ID is now " .. player.m_crownId)
end
function GMHelper:CrownNegative()
local player = PlayerManager:getClientPlayer().Player
if not player.m_crownId then
player.m_crownId = 0
end
player.m_crownId = player.m_crownId - 1
player.m_outLooksChanged = true
[Link]("^FF00EE Success: Crown ID is now " .. player.m_crownId)
end
function GMHelper:AirSpeed(text)
local isJumpSpeedActive = false
local isFastJumpEnabled = [Link]("EnableDoubleJumps")
local callbackFunction = nil
callbackFunction = function(playerId)
if playerId == [Link]():getPlatformUserId() then
local clientPlayer = PlayerManager:getClientPlayer()
local player = [Link]
local pitch, yaw = player:getPitch(), player:getYaw()
local speedFactor = 5.55
[Link]:registerCallBack(callbackFunction)
text:SetBackgroundColor([Link])
isJumpSpeedActive = true
end
if isJumpSpeedActive then
deactivateJumpSpeed()
else
activateJumpSpeed()
end
toggleFastJump()
end
function GMHelper:NoLag()
local FPS = 500000
togNoLag = not togNoLag
if not togNoLag then
[Link]():SetMaxFps(60)
[Link]("^FF0000NoLag stopped")
return
end
[Link]():SetMaxFps(FPS)
[Link]("^00FF00NoLag Enabled")
end
function GMHelper:UnlockFPS()
local originalRenderDistance = 500
local antiLagRenderDistance = 100
togUnlockFPS = not togUnlockFPS
if togUnlockFPS then
originalRenderDistance = [Link]("BlockRenderDistance")
[Link]("BlockRenderDistance", antiLagRenderDistance)
[Link]("^00FF00UnlockFPS Enabled")
return
end
[Link]("BlockRenderDistance", originalRenderDistance)
[Link]("^FF0000UnlockFPS Disabled")
end
local highJumpValue = 1
function GMHelper:HighJump(text)
local player = PlayerManager:getClientPlayer()
togHighJump = not togHighJump
if togHighJump then
[Link]("^FF00FFHigh Jump Enabled")
text:SetBackgroundColor([Link])
[Link]:setFloatProperty("JumpHeight", highJumpValue)
return
end
[Link]("High Jump Disabled")
text:SetBackgroundColor([Link])
[Link]:setFloatProperty("JumpHeight", 0.4)
end
function GMHelper:FreeCamera(text)
togFreeCamera = not togFreeCamera
if not togFreeCamera then
GUIManager:getWindowByName("Main-HideAndSeek-Operate"):SetVisible(false)
text:SetBackgroundColor([Link])
return
end
GUIManager:getWindowByName("Main-HideAndSeek-Operate"):SetVisible(true)
text:SetBackgroundColor([Link])
end
button:registerEvent([Link], startTouch)
button:registerEvent([Link], movePlayer)
button:registerEvent([Link], stopTouch)
button:registerEvent([Link], startTouch)
button:registerEvent([Link], stopTouch)
button:registerEvent([Link], startTouch)
button:registerEvent([Link], startTouch)
button:registerEvent([Link], startTouch)
button:registerEvent([Link], movePlayer)
button:registerEvent([Link], stopTouch)
button:registerEvent([Link], stopTouch)
end
function GMHelper:DevFly(text)
flyButtonn = GUIManager:createGUIWindow([Link], "GUIRoot-flyButtonn")
flyButtonn:SetHorizontalAlignment([Link])
flyButtonn:SetVerticalAlignment([Link])
flyButtonn:SetHeight({0, 60})
flyButtonn:SetWidth({0, 60})
flyButtonn:SetLevel(1)
flyButtonn:SetTouchable(true)
flyButtonn:SetBackgroundColor({0, 0, 0, 0.6})
flyButtonn:SetXPosition({0.45, 0})
flyButtonn:SetYPosition({0.1, 0})
flyButtonn:SetNormalImage("set:fly_control.json image:luodi")
flyButtonn:SetPushedImage("set:fly_control.json image:luodi")
flyButtonn:SetVisible(true)
[Link]():GetRootWindow():AddChildWindow(flyButtonn)
flyButtonn:registerEvent([Link], function()
local player = PlayerManager:getClientPlayer().Player
[Link] = not [Link]
if [Link] then
player:setAllowFlying(true)
player:setFlying(true)
player:moveEntity(VectorUtil.newVector3(0.0, 1.35, 0.0))
[Link]("^00FF00 Fly Mode Enabled")
else
player:setFlying(false)
player:setAllowFlying(false)
[Link]("^FF0000 Fly Mode Disabled")
end
end)
end
function GMHelper:AutoRespawn()
local deathPosition = nil
if togRespawnInSamePlace then
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)
text:SetBackgroundColor([Link])
end
end
function GMHelper:DeathChangePlace(text)
local predefinedPos = VectorUtil.newVector3(100, 200, 100)
targetPos = checkBlock(targetPos)
clientPlayer:setPosition(targetPos)
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
[Link] = yaw
[Link] = pitch
end
if togRespawnInSamePlace then
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
player:setAllowFlying(true)
player:setFlying(true)
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)
text:SetBackgroundColor([Link])
end
end
function GMHelper:Tp
(text)
A = not A
LuaTimer:cancel(teleportTimer)
if A then
teleportTimer = LuaTimer:scheduleTimer(function()
local clientPos = PlayerManager:getClientPlayer().Player:getPosition()
clientPos.y = clientPos.y + 2
local entities = EntityCache:getAllEntity()
for _, entity in pairs(entities) do
if entity ~= PlayerManager:getClientPlayer() then
[Link]:setPosition(clientPos)
end
end
text:SetBackgroundColor([Link])
end, 1, -1)
else
text:SetBackgroundColor([Link])
end
end
local function setPosTest(targetPos)
if not targetPos or targetPos.y < 10 then return end
targetPos = findSafeY(targetPos)
[Link] = true
clientPlayer:setPosition(targetPos)
[Link] = false
player:setAllowFlying(false)
player:setFlying(false)
[Link]("SyncClientPositionToServer", false)
clientPlayer:setPosition(targetPos)
local tmLft
local timeLeft = 1
tmLft = LuaTimer:scheduleTimer(function()
PacketSender:getSender():sendRebirth()
timeLeft = timeLeft - 1
if timeLeft <= 0 then
[Link]("SyncClientPositionToServer", true)
LuaTimer:cancel(tmLft)
clientPlayer:moveEntity(VectorUtil.newVector3(0, 1.35, 0))
clientPlayer:setAllowFlying(true)
clientPlayer:setFlying(true)
LuaTimer:schedule(function()
clientPlayer:setAllowFlying(false)
clientPlayer:setFlying(false)
end, 0.05)
end
end, 0.06, 1)
end
function GMHelper:BedDestroyer(text)
BedDestroyertog = not BedDestroyertog
if not BedDestroyertog then
[Link]("BedTP: Off")
text:SetBackgroundColor([Link])
if self._bedTpTimer then
LuaTimer:cancel(self._bedTpTimer)
self._bedTpTimer = nil
end
local me = PlayerManager:getClientPlayer()
if me and [Link] then
[Link] = false
end
return
end
[Link]("BedTP: On")
text:SetBackgroundColor([Link])
self._bedTpTimer = LuaTimer:scheduleTimer(function()
local me = PlayerManager:getClientPlayer()
if not me or not [Link] then return end
if currentTargetBed then
-- Send teleport packet before setting position
PacketSender:sendLuaCommonData("TeleportHallInitPos")
local tp = VectorUtil.newVector3(
currentTargetBed.x + 0.5,
currentTargetBed.y + 2,
currentTargetBed.z + 0.5
)
setPosTest(tp)
end
end, 70, -1)
end
function GMHelper:QuickPlaceBlock(text)
T = not T
text:SetBackgroundColor([Link])
LuaTimer:cancel([Link])
if T then
text:SetBackgroundColor([Link])
[Link] = LuaTimer:scheduleTimer(function()
[Link]("QuicklyBuildBlockNum", 5)
end, 0.10, -1)
end
end
function GMHelper:NoFall(text)
U = not U
LuaTimer:cancel([Link])
[Link]("SprintLimitCheck", 0)
text:SetBackgroundColor([Link])
if U then
text:SetBackgroundColor([Link])
[Link] = LuaTimer:scheduleTimer(function()
[Link]("SprintLimitCheck", 1)
end, 0.10, -1)
end
end
function GMHelper:Skate(text)
A = not A
text:SetBackgroundColor([Link])
[Link] = [Link]
PlayerManager:getClientPlayer().Player:setBoolProperty("DisableUpdateAnimState",
false)
if A then
GUIGMControlPanel:hide()
PlayerManager:getClientPlayer().Player:setBoolProperty("DisableUpdateAnimState",
true)
text:SetBackgroundColor([Link])
[Link] = [Link]
end
end
function GMHelper:Blink(text)
A = not A
text:SetBackgroundColor([Link])
[Link] = [Link]
[Link]("SyncClientPositionToServer", true)
if A then
text:SetBackgroundColor([Link])
[Link] = [Link]
[Link]("SyncClientPositionToServer", false)
end
end
function GMHelper:TpKill(text)
A = not A
text:SetBackgroundColor([Link])
[Link] = [Link]
LuaTimer:cancel([Link])
if A then
local me = PlayerManager:getClientPlayer()
local moveDir = VectorUtil.newVector3(1.0, 1.0, 1.0)
local myTeamId = [Link]:getTeamId()
[Link] = LuaTimer:scheduleTimer(function()
local others = PlayerManager:getPlayers()
for _, c_player in pairs(others) do
if c_player ~= me and [Link]:getTeamId() ~= myTeamId then
--player ~= me and [Link] and [Link]:getTeamId() ~= myTeamId
[Link]:setPosition(c_player:getPosition())
[Link]:moveEntity(moveDir)
end
end
end, 119, -1)
GMHelper:Aimbot(text)
GMHelper:Blink(text)
text:SetBackgroundColor([Link])
[Link] = [Link]
end
end
function GMHelper:Aimbot(text)
AIs = not AIs
text:SetBackgroundColor([Link])
LuaTimer:cancel([Link])
if AIs then
text:SetBackgroundColor([Link])
[Link] = LuaTimer:scheduleTimer(function()
local me = PlayerManager:getClientPlayer()
if me then
local myPos = [Link]:getPosition()
local players = PlayerManager:getPlayers()
[Link](locationString)
locationString:SetBackgroundColor({ 0, 0, 0, 0.5 })
end
end
end, 1, 99999)
end
end
function GMHelper:AimBow(text)
AimbowEnabled = not AimbowEnabled
if AimbowEnabled then
LuaTimer:scheduleTimer(function()
local clientPlayer = PlayerManager:getClientPlayer().Player
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, 0)
[Link]("Aimbow Enabled")
text:SetBackgroundColor([Link])
else
LuaTimer:cancel([Link])
[Link]("Aimbow Disabled")
text:SetBackgroundColor([Link])
end
end
function GMHelper:FastJump(text)
local isEnabled = [Link]("EnableDoubleJumps")
A = not A
PlayerManager:getClientPlayer().Player.m_keepJumping = true
text:SetBackgroundColor([Link])
if A then
[Link]("EnableDoubleJumps", true)
PlayerManager:getClientPlayer().Player.m_keepJumping = false
text:SetBackgroundColor([Link])
end
end
function GMHelper:StopPlayers(text)
self._allPlayersStopped = not self._allPlayersStopped
if self._allPlayersStopped then
text:SetBackgroundColor([Link])
[Link]("§cAll players frozen (via packet)")
self._freezeAllPacketTimer = LuaTimer:scheduleTimer(function()
local players = PlayerManager:getAllPlayers()
for i = 1, #players do
local player = players[i]
if player and player:isValid() and not player:isLocalPlayer() then
local motion = VectorUtil.newVector3(0, 0, 0)
PacketManager:sendPacket(packet)
end
end
end, 50, -1)
else
if self._freezeAllPacketTimer then
LuaTimer:cancel(self._freezeAllPacketTimer)
self._freezeAllPacketTimer = nil
end
text:SetBackgroundColor([Link])
[Link]("§aAll players unfrozen (via packet)")
end
end
function GMHelper:EquipNinjaShoes(text)
local player = PlayerManager:getClientPlayer()
EnableJump = not EnableJump
if EnableJump then
[Link]:setFloatProperty("JumpHeight", 0.50)
[Link] = 2
text:SetBackgroundColor([Link])
else
[Link]:setFloatProperty("JumpHeight", 0.42)
[Link] = 1
text:SetBackgroundColor([Link])
end
end
function GMHelper:Night()
[Link]("fanxing")
end
function GMHelper:Day()
[Link]("Qing")
end
function GMHelper:Evening()
[Link]("Wanxia")
end
function GMHelper:Snow()
[Link]("xue")
end
function GMHelper:HideHP(text)
text:SetBackgroundColor([Link])
GUIManager:getWindowByName("ClientSetting-TabList"):SetVisible(true)
end
function GMHelper:ShowHP(text)
text:SetBackgroundColor([Link])
GUIManager:getWindowByName("PlayerInfo-Health"):SetVisible(true)
end
function GMHelper:SetFov()
GMHelper:openInput({ "" }, function(data)
[Link]().m_gameSettings:setFovSetting(data)
[Link]("success")
end)
end
function GMHelper:SetHighJump()
GMHelper:openInput({ "Set new jump value" }, function(newHighJump)
local player = PlayerManager:getClientPlayer()
newHighJump = tonumber(newHighJump)
if player and [Link] and newHighJump then
[Link]:setFloatProperty("JumpHeight", newHighJump)
[Link]("^FF00EESuccess")
end
end)
end
function GMHelper:SetSpeed()
GMHelper:openInput({ "Set new speed value" }, function(Number)
PlayerManager:getClientPlayer().Player:setSpeedAdditionLevel(Number)
[Link]("^FF00EESuccess")
end)
end
function GMHelper:SetMaxFPS()
GMHelper:openInput({""}, function(FPS)
[Link]():SetMaxFps(FPS)
end)
end
function GMHelper:restValues(text)
SpeedValue = 1
PlayerManager:getClientPlayer().Player:setSpeedAdditionLevel(SpeedValue)
text:SetBackgroundColor([Link])
highJumpValue = 0.4
local player = PlayerManager:getClientPlayer()
if player and [Link] then
[Link]:setFloatProperty("JumpHeight", highJumpValue)
end
AimBotValue = 0
AimbotRange = nil
if [Link] then
LuaTimer:cancel([Link])
[Link] = nil
end
[Link]().m_gameSettings:setFovSetting(1.0)
end
function GMHelper:UpdatePlayerNickname()
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_1.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip1")
[Link]("--> ^00FF00 Vip1 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname2(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_2.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip2")
[Link]("--> ^00FF00 Vip2 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname3(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_3.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip3")
[Link]("--> ^00FF00 Vip3 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname4(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_4.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip4")
[Link]("--> ^00FF00 Vip4 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname5(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_5.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip5")
[Link]("--> ^00FF00 Vip5 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname6(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_6.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip6")
[Link]("--> ^00FF00 Vip6 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname7(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_7.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip7")
[Link]("--> ^00FF00 Vip7 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname8(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_8.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip8")
[Link]("--> ^00FF00 Vip8 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname9(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_9.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip9")
[Link]("--> ^00FF00 Vip9 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname10(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname = [Link]("[S=vip_nameplate_10.json]&$
[ff0000ff-ff7f00ff-ffff00ff-00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&",
playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip10")
[Link]("--> ^00FF00 Vip10 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:UpdatePlayerNickname11(text)
local isEnabled = true
[Link]()
[Link]("Terms and Conditions")
[Link]("Please agree to the terms and conditions to
continue.")
[Link]("Agree")
[Link]("Cancel")
GUIGMControlPanel:hide()
[Link](
function()
if isEnabled then
text:SetBackgroundColor([Link])
local clientPlayer = PlayerManager:getClientPlayer()
local playerEntity = [Link]
local fixedNickname = playerEntity:getEntityName()
local formattedNickname =
[Link]("[S=vip_nameplate_10_plus.json]&$[ff0000ff-ff7f00ff-ffff00ff-
00ff00ff-00ffffff-0000ffff-7f00ffff]$%s$&", playerEntity:getEntityName())
playerEntity:setShowName(formattedNickname)
[Link]()
[Link]("Vip11")
[Link]("--> ^00FF00 Vip11 NameColor
^FFFFFF<--")
[Link]("Done")
[Link](
function()
end
)
[Link]()
else
[Link]("Button is disabled.")
end
end
)
[Link](
function()
if isEnabled then
[Link]("Operation Cancelled")
else
[Link]("Button is disabled.")
end
end
)
[Link]()
end
function GMHelper:reSetHealth()
LuaTimer:scheduleTimer(function()
local playerWrapper = PlayerManager:getClientPlayer()
if not playerWrapper or not [Link] then
return
end
playerWrapper:sendPacket({
pid = "PluginSetThornSubHealth",
health = 25
})
[Link]:setEntityHealthNoHurtEffect(25)
[Link]("Enabled")
end, 100, -1)
end
function GMHelper:TeleportKiller()
Aim = not Aim
LuaTimer:cancel(TpKillTimer)
[Link]().m_gameSettings:setCollimatorMode(false)
[Link]("^FF0000KillTP Off")
if Aim then
[Link]().m_gameSettings:setCollimatorMode(true)
local me = PlayerManager:getClientPlayer()
local moveDir = VectorUtil.newVector3(0.0, 2.0, 0.0)
local gameType = [Link]():getGameType()
local GameHasTeams = { "g1061", "g1062", "g1063", "g1065", "g1072",
"g1027", "g1018", "g1014", "g1038" }
TpKillTimer = LuaTimer:scheduleTimer(function()
local others = PlayerManager:getPlayers()
local minDis = [Link]
local nearestClient
local teamId = me:getTeamId()
if nearestClient then
local nearestTeamId = nearestClient:getTeamId()
local nearestHealth = nearestClient:getHealth()
if isGameHasTeams then
if nearestTeamId ~= teamId and nearestHealth ~= 0 then
[Link]:setPosition(nearestClient:getPosition())
[Link]:moveEntity(moveDir)
local camera = [Link]():getMainCamera()
local pos = camera:getPosition()
local dir = VectorUtil.sub3(nearestClient: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 + 1.5, calculate) / [Link]
* 180
[Link] = yaw or 0
[Link] = pitch or 0
[Link]():handleTouchClick(1204, 503)
[Link]("Name: " .. nearestClient:getName() .. "
Health: " .. nearestHealth .. "/" .. nearestClient:getMaxHealth())
end
else
if nearestHealth ~= 0 and nearestClient ~= me then
[Link]:setPosition(nearestClient:getPosition())
[Link]:moveEntity(moveDir)
local camera = [Link]():getMainCamera()
local pos = camera:getPosition()
local dir = VectorUtil.sub3(nearestClient: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 + 1.5, calculate) / [Link]
* 180
[Link] = yaw or 0
[Link] = pitch or 0
[Link]():handleTouchClick(1204, 503)
[Link]("Name: " .. nearestClient:getName() .. "
Health: " .. nearestHealth .. "/" .. nearestClient:getMaxHealth())
end
end
end
end, 10, -1)
[Link]("^00FF00KillTP On")
end
end
if A40a then
teleportTimer = LuaTimer:scheduleTimer(function()
local clientPos = PlayerManager:getClientPlayer():getPosition()
clientPos.z = clientPos.z + 2
local entities = EntityCache:getAllEntity()
for _, entity in pairs(entities) do
if entity ~= PlayerManager:getClientPlayer() then
[Link]:setPosition(clientPos)
end
end
[Link]("^00FF00Enabled")
end, 1, -1)
else
[Link]("^FF0000Disabled")
end
end
function GMHelper:SoftBypassSpeed()
local lp
local p = PlayerManager:getClientPlayer()
LuaTimer:scheduleTimer(function()
if p and [Link] then
local cp = {p:getPosition()}
if not lp or cp[1]~=lp[1] or cp[2]~=lp[2] or cp[3]~=lp[3] then
[Link].m_longMoveBeginTime, [Link].m_longMoveCnt = 0, 0
[Link]("longMoveCnt", 0)
[Link]("longMoveBeginTime", 0)
p.m_inTheAirBeginTime, p.m_inTheAirCnt = 0, 0
[Link]("InTheAirCntLimit", [Link])
[Link]("InTheAirTimeLimit", [Link])
[Link]():getPlayer().onGround = true
[Link]():getPlayer().m_flyingByPulled = true
lp = cp
end
end
end, 10, -1)
[Link]("Speed bypass active")
[Link]("^00FF00Enabled")
end
function GMHelper:HideMe()
[Link]("^00FF00Success")
local CRecordUtil = T(Global, "CRecordUtil")
[Link]([Link], function(entityId)
local player = PlayerManager:getPlayerByEntityId(entityId)
if not player then
return true
end
[Link]("Enabled")
return true
end)
end
function GMHelper:InfShield()
local params = {
Time = 99999999999
}
local data = [Link]():fromTable(params):getData()
PacketSender:sendLuaCommonData("AddInvincibleState", data)
[Link]("Sukses")
end
function GMHelper:AutoSell()
alxjejsn=not alxjejsn
if alxjejsn then
encjaha=LuaTimer:scheduleTimer(function()
local params = {
Area = "SellArea"
}
local data = [Link]():fromTable(params):getData()
PacketSender:sendLuaCommonData("TeleportToArea", data)
end, 500, -1)
else
LuaTimer:cancel(encjaha)
[Link]("AutoSell Off")
end end
function GMHelper:EditSize()
GMHelper:openInput({""}, function(Lolq)
PacketSender:sendLuaCommonData("ConcealPower", tostring(Lolq))
end)
end
function GMHelper:EquipSun()
local params = {
ItemId = 607,
selectMode = [Link],
}
local data = [Link]():fromTable(params):getData()
PacketSender:sendLuaCommonData("ChangeHoldItemActor", data)
[Link]("Sukess")
end
function GMHelper:EquipEarth()
local params = {
ItemId = 606,
selectMode = [Link],
}
local data = [Link]():fromTable(params):getData()
PacketSender:sendLuaCommonData("ChangeHoldItemActor", data)
[Link]("Sukess")
end
function GMHelper:EquipAirCraft()
local params = {
ItemId = 605,
selectMode = [Link],
}
local data = [Link]():fromTable(params):getData()
PacketSender:sendLuaCommonData("ChangeHoldItemActor", data)
[Link]("Sukess")
end
function GMHelper:ChangeSkinSim()
GMHelper:openInput({""}, function(skinidowo)
local data = [Link]():addParam("index", skinidowo):getData()
PacketSender:sendLuaCommonData("SelectSkin", data)
[Link]("Skin Changed Success")
end) end
function GMHelper:HealSim()
local data = [Link]():addParam("index",
[Link]):getData()
PacketSender:sendLuaCommonData("SelectSkin", data)
local data = [Link]():addParam("index",
[Link]):getData()
PacketSender:sendLuaCommonData("SelectSkin", data)
end
function GMHelper:bypassId16()
togBypassId16 = not togBypassId16
if togBypassId16 then
[Link]("Bypasser ON!")
[Link](0.01, "Bypasser : on")
if togAssz then
[Link]("SyncClientPositionToServer", false)
[Link]("InTheAirCntLimit", [Link])
[Link]("InTheAirTimeLimit", 99999)
else
[Link]("SyncClientPositionToServer", true)
[Link]("InTheAirCntLimit", [Link])
[Link]("InTheAirTimeLimit", 99999)
end
end, 20, -1)
end
else
[Link]("Bypass Off")
[Link](0.01, "Bypasser : off")
if toggleTimerA then
LuaTimer:cancel(toggleTimerA)
toggleTimerA = nil
end
togAssz = false
[Link]("SyncClientPositionToServer", true)
end
end
function GMHelper:RaketButton()
GUIManager:getWindowByName("Main-BuildWar-Block"):SetVisible(true)
GUIManager:getWindowByName("Main-BuildWar-Block",
[Link]):registerEvent([Link], function()
local moveDir = VectorUtil.newVector3(0.0, 1.35, 0.0)
local player = PlayerManager:getClientPlayer()
[Link]:setAllowFlying(true)
[Link]:setFlying(true)
[Link]:moveEntity(moveDir)
PlayerManager:getClientPlayer().Player:setSpeedAdditionLevel(150000)
[Link]("^00FF00ON")
end)
end
function GMHelper:Money()
local me = _G["PlayerManager"]:getClientPlayer()
local wallet = Game:getPlayer():getWallet()
wallet.m_diamondBlues = 999999999
wallet.m_Currency = 999999999
wallet.m_diamondGolds = 999999999
wallet:setGolds(99999999)
PlayerWallet:setMoneyCount([Link], 999999999)
function GMHelper:Jiang()
[Link](999999999)
end
function GMHelper:guesten()
local player = PlayerManager:getClientPlayer()
local packetCount = 0
for i = 1, 999999 do
player:sendPacket({
pid = "pid"
})
packetCount = packetCount + 1
end
if pickColor[color] then
local playerName = PlayerManager:getClientPlayer().Player:getEntityName()
PlayerManager:getClientPlayer().Player:setShowName("▢FF"..pickColor[color]..playerN
ame)
text:SetBackgroundColor([Link])
end
end
function GMHelper:btnJetPack(text)
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)
btnJetpackg2:SetTextColor({ 0.6, 0, 0, 1 })
btnJetpackg2:registerEvent([Link], function()
btnJetpackfunction()
end)
[Link]():GetRootWindow():AddChildWindow(btnJetpackg2)
btnJetpackg2:SetBackgroundColor({ 0, 0, 0, 0.6 })
text:SetBackgroundColor([Link])
btnJetpackg2:SetVisible(true)
btnJetpackg2:SetText("JetPack")
end
function btnJetpackfunction()
BJF = not BJF
if BJF then
btnJetpackg2:SetTextColor({ 0, 255, 0, 0.6 })
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)
else
btnJetpackg2:SetTextColor({ 0.6, 0, 0, 1 })
LuaTimer:cancel(BJFS)
end
end
function btnEmotefunction()
emote = not emote
btnEmote:SetTextColor({ 0, 255, 0, 0.6 })
PlayerManager:getClientPlayer().Player:setBoolProperty("DisableUpdateAnimState",
true)
if emote then
PlayerManager:getClientPlayer().Player:setBoolProperty("DisableUpdateAnimState",
false)
btnEmote:SetTextColor({ 0.6, 0, 0, 1 })
end
end
function GMHelper:BtnHitBox(text)
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)
BtnHitBox:SetTextColor({ 0.6, 0, 0, 1 })
BtnHitBox:registerEvent([Link], function()
btnHitFunction()
end)
[Link]():GetRootWindow():AddChildWindow(BtnHitBox)
BtnHitBox:SetBackgroundColor({ 0, 0, 0, 0.6 })
text:SetBackgroundColor([Link])
BtnHitBox:SetVisible(true)
BtnHitBox:SetText("Hitbox")
end
function btnHitFunction()
Lol = not Lol
local players = PlayerManager:getPlayers()
local autoHeight, autoWidth, autoLength
if Lol then
autoHeight = 5
autoWidth = 5
autoLength = 5
BtnHitBox:SetTextColor({0, 255, 0, 0.6})
else
autoHeight = 1
autoWidth = 1
autoLength = 1
BtnHitBox:SetTextColor({0.6, 0, 0, 1})
end
function GMHelper:ChangeNick()
GMHelper:openInput({ "" }, function(Nick)
PlayerManager:getClientPlayer().Player:setShowName(Nick)
[Link]("^FF00EENickNameChanged")
end)
end
function GMHelper:RainbowName(text)
local player = PlayerManager:getClientPlayer().Player
local playerName = player:getEntityName()
[Link]("&$[ffca00ff-fbd33fff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff]$Rainbow Name Successfully$&")
text:SetBackgroundColor([Link])
player:setShowName("&$[ffca00ff-fbd33fff-cad2ceff-23b8feff-677dffff-ac61ffff-
fd15ffff]$" .. playerName .. "$&")
end
function GMHelper:LagServer2()
togLagServer2 = not togLagServer2
if togLagServer2 then
ddosTimer = LuaTimer:scheduleTimer(function()
[Link]("^FFA500DDosing")
for i = 1, 100000 do
PlayerManager:getClientPlayer():sendPacket({pid="pid"})
end
end, 3000, -1)
return
end
LuaTimer:cancel(ddosTimer)
[Link]("^FFA500DDos stopped")
end
function GMHelper:yu()
[Link]("yu")
end
function GMHelper:liuxing()
[Link]("liuxing")
end
function GMHelper:xue()
[Link]("xue")
end
function GMHelper:fanxing()
[Link]("fanxing")
end
function GMHelper:qing()
[Link]("qing")
end
function GMHelper:wanxia()
[Link]("wanxia")
end
function GMHelper:sky2()
[Link]("sky2")
end
function GMHelper:starfield02()
[Link]("starfield02")
end