Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local PLAYER = game.Players.LocalPlayer
- function startUp()
- local _UI = game:GetObjects('rbxassetid://980831938')[1]
- _UI.Parent = game.CoreGui
- if getrenv then
- fireserver = getrenv().shared.fireserver
- elseif getgenv then -- boy, what?
- fireserver = getgenv().shared.fireserver
- elseif getfenv then -- boy, WHAT?
- fireserver = getfenv().shared.fireserver
- else
- return nil
- end
- local VERSION = 1.5
- warn('Niobium - Version ', 'v'..VERSION)
- local _FEATURE_STATE = 'Hidden'
- local MAIN_FRAME = _UI.MAIN_FRAME
- local PLAYER = game.Players.LocalPlayer
- local gui = _UI
- local CHANGELOG_MESSAGES = {
- ' - Upgraded Security',
- ' - Added New Commands',
- ' - Added AutoWhitelist',
- ' - Please send all UI bugs to iSxxn#4779',
- ' - Please send all functional bugs to EpicShilohDog#5810'
- }
- -- Form Instances
- local function formInstance(class, properties)
- local _TEMP = Instance.new(class)
- for i,v in pairs(properties) do
- _TEMP[i] = v
- end
- return _TEMP
- end
- -- User Interface Features Tweening
- _UI.MAIN_FRAME.FEATURES.MouseEnter:connect(function()
- if _FEATURE_STATE == 'Hidden' then
- _FEATURE_STATE = 'Visible'
- _UI.MAIN_FRAME.FEATURES:TweenPosition(UDim2.new(0,0,0.152,0),'Out','Quad',.2)
- _UI.MAIN_FRAME.CONTENT_HOLDER:TweenSizeAndPosition(UDim2.new(0.75,0,0.85,0),UDim2.new(0.25,0,0.15,0),'Out','Quad',.2)
- end
- end)
- _UI.MAIN_FRAME.FEATURES.MouseLeave:connect(function()
- if _FEATURE_STATE == 'Visible' then
- _FEATURE_STATE = 'Hidden'
- _UI.MAIN_FRAME.FEATURES:TweenPosition(UDim2.new(-0.225,0,0.152,0),'Out','Quad',.25)
- _UI.MAIN_FRAME.CONTENT_HOLDER:TweenSizeAndPosition(UDim2.new(0.95,0,0.85,0),UDim2.new(0.05,0,0.15,0),'Out','Quad',.2)
- end
- end)
- for _,v in pairs(_UI.CONTENT:GetChildren()) do -- Move all the content to the mainframe
- local _temp = v:Clone()
- if _temp.Name ~= 'CONTENT_HOME' then
- _temp.Position=UDim2.new(-1.2,0,0,0)
- _temp.Visible = false
- else
- _temp.Visible = true
- end
- _temp.Parent = _UI.MAIN_FRAME.CONTENT_HOLDER
- end
- local CONTENT_HOME = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_HOME")
- local CONTENT_LOCALPLAYER = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_LOCALPLAYER")
- local CONTENT_PLAYER = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_PLAYER")
- local CONTENT_UNIVERSAL = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_UNIVERSAL")
- local CONTENT_VEHICLE = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_VEHICLE")
- local CONTENT_SETTINGS = _UI.MAIN_FRAME.CONTENT_HOLDER:WaitForChild("CONTENT_SETTINGS")
- local selplr = Instance.new("ObjectValue", _UI)
- selplr.Name = "SelectedPlayer"
- local function formPlayerList()
- CONTENT_PLAYER.PlayerList:ClearAllChildren()
- wait()
- local curPlayerPosition = UDim2.new(0,0,0,0)
- for _,v in pairs(game.Players:GetPlayers()) do
- local playerButton = formInstance('TextButton', {BackgroundColor3=Color3.fromRGB(62,175,255),BorderSizePixel=2,BorderColor3=Color3.fromRGB(255,255,255),
- Position=curPlayerPosition,Size=UDim2.new(1,0,0,25),ZIndex=2,TextSize=14,Font=Enum.Font.SourceSansBold,Text=v.Name,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,Parent=CONTENT_PLAYER.PlayerList})
- curPlayerPosition = curPlayerPosition + UDim2.new(0,0,0,25)
- CONTENT_PLAYER.PlayerList.CanvasSize = UDim2.new(0,0,0,(30*#game.Players:GetPlayers()))
- playerButton.MouseButton1Click:connect(function()
- CONTENT_PLAYER.SELECTED.Text = "Selected: "..v.Name
- selplr.Value = v
- end)
- end
- end
- game.Players.PlayerRemoving:connect(formPlayerList)
- game.Players.PlayerAdded:connect(formPlayerList)
- formPlayerList()
- CONTENT_HOME.Visible = true
- local _CHANGELOG_STATE = 'Hidden'; local _CHANGELOG_CHANGING_STATE = false
- --
- CONTENT_HOME.BT_CHANGELOG.MouseButton1Click:connect(function()
- if _CHANGELOG_CHANGING_STATE then return end
- _CHANGELOG_CHANGING_STATE = true
- if _CHANGELOG_STATE == 'Hidden' then
- _CHANGELOG_STATE = 'Visible'
- _UI.LBL_CHANGELOG.Text = ' CHANGELOG'
- _UI.LBL_CHANGELOG:TweenSize(UDim2.new(0.25,0,.05,0),'Out','Quad',1)
- else
- _CHANGELOG_STATE = 'Hidden'
- _UI.LBL_CHANGELOG.Text = ''
- _UI.LBL_CHANGELOG:TweenSize(UDim2.new(0,0,.05,0),'Out','Quad',1)
- end
- wait(1)
- _CHANGELOG_CHANGING_STATE = false
- end)
- MSG_CHANGEING_STATE = false
- local _MSG_STATE = 'Hidden'
- CONTENT_UNIVERSAL.BT_MESSAGE.MouseButton1Click:connect(function()
- if MSG_CHANGEING_STATE then return end
- MSG_CHANGEING_STATE = true
- if _MSG_STATE == 'Hidden' then
- _MSG_STATE = 'Visible'
- _UI.LBL_MSG.SF_MSG.BT_SEND.Visible = true
- _UI.LBL_MSG.SF_MSG.TB_MSG.Visible = true
- _UI.LBL_MSG.SF_MSG.TB_COLOR.Visible = true
- _UI.LBL_MSG.Text = 'SERVER MESSAGE'
- _UI.LBL_MSG:TweenSize(UDim2.new(0.25,0,.05,0),'Out','Quad',1)
- else
- _UI.LBL_MSG.SF_MSG.BT_SEND.Visible = false
- _UI.LBL_MSG.SF_MSG.TB_MSG.Visible = false
- _UI.LBL_MSG.SF_MSG.TB_COLOR.Visible = false
- _MSG_STATE = 'Hidden'
- _UI.LBL_MSG.Text = ''
- _UI.LBL_MSG:TweenSize(UDim2.new(0,0,.05,0),'Out','Quad',1)
- end
- MSG_CHANGEING_STATE = false
- end)
- SPWN_CHANGEING_STATE = false
- local _SPWN_STATE = 'Hidden'
- CONTENT_LOCALPLAYER.BT_SPAWN.MouseButton1Click:connect(function()
- if SPWN_CHANGEING_STATE then return end
- SPWN_CHANGEING_STATE = true
- if _SPWN_STATE == 'Hidden' then
- _SPWN_STATE = 'Visible'
- _UI.LBL_SPAWN.Text = 'Spawning'
- _UI.LBL_SPAWN:TweenSize(UDim2.new(0.25,0,.05,0),'Out','Quad',1)
- else
- _SPWN_STATE = 'Hidden'
- _UI.LBL_SPAWN.Text = ''
- _UI.LBL_SPAWN:TweenSize(UDim2.new(0,0,.05,0),'Out','Quad',1)
- end
- SPWN_CHANGEING_STATE = false
- end)
- -- Create Changelog Messages
- local function form_Messages()
- local MSG_POSITION = UDim2.new(0,0,0,3)
- for i = 1,#CHANGELOG_MESSAGES do
- local v = CHANGELOG_MESSAGES[i]
- print(i,v)
- formInstance('TextLabel',{BackgroundTransparency=1,Position=MSG_POSITION,Size=UDim2.new(1,0,0,30),ZIndex=2,Font=Enum.Font.SourceSansBold,Text=v,TextSize=15,
- TextColor3=Color3.fromRGB(0,50,76),TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Top,Parent=_UI.LBL_CHANGELOG.SF_CHANGELOG})
- MSG_POSITION = MSG_POSITION + UDim2.new(0,0,0,30)
- end
- end
- _UI.LBL_CHANGELOG.SF_CHANGELOG:ClearAllChildren()
- wait()
- form_Messages()
- local switching_State = false; previous_tab = CONTENT_HOME; new_tab = nil
- local function switch_tab(activeButton)
- if switching_State or 'CONTENT_'..activeButton == previous_tab.Name then return end
- switching_State = true
- for _,v in pairs(_UI.MAIN_FRAME.CONTENT_HOLDER:GetChildren()) do
- if previous_tab ~= nil then -- Slide the last tab to the right
- previous_tab:TweenPosition(UDim2.new(1.2,0,0,0),'Out','Quad',.5)
- end
- if v.Name ~= 'CONTENT_'..activeButton then
- if previous_tab ~= nil and previous_tab ~= v then
- v.Visible = false
- v.Position = UDim2.new(-1.2,0,0,0)
- end
- else
- v.Visible = true
- v:TweenPosition(UDim2.new(0,0,0,0),'Out','Quad',.5)
- new_tab = v
- end
- end
- wait(.5)
- previous_tab.Position = UDim2.new(-1.2,0,0,0)
- previous_tab = new_tab
- switching_State = false
- end
- --Universal
- _UI.MAIN_FRAME.FEATURES.BT_UNIVERSAL.MouseButton1Down:connect(function(a)
- switch_tab('UNIVERSAL')
- end)
- --Home
- _UI.MAIN_FRAME.FEATURES.BT_HOME.MouseButton1Down:connect(function(a)
- switch_tab('HOME')
- end)
- --Local Player
- _UI.MAIN_FRAME.FEATURES.BT_LOCALPLAYER.MouseButton1Down:connect(function(a)
- switch_tab('LOCALPLAYER')
- end)
- --Player
- _UI.MAIN_FRAME.FEATURES.BT_PLAYERS.MouseButton1Down:connect(function(a)
- switch_tab('PLAYER')
- end)
- _UI.MAIN_FRAME.FEATURES.BT_VEHICLE.MouseButton1Down:connect(function(a)
- switch_tab('VEHICLE')
- end)
- _UI.MAIN_FRAME.FEATURES.BT_SETTINGS.MouseButton1Down:connect(function(a)
- switch_tab('SETTINGS')
- end)
- --/ Button Declarations \--
- --Universal
- local btnKillAll = CONTENT_UNIVERSAL.BT_KALL
- local btnKillZ = CONTENT_UNIVERSAL.KZOMBIES
- local btnStealAllU = CONTENT_UNIVERSAL.BT_SALL
- local btnSendMsg = _UI.LBL_MSG.SF_MSG.BT_SEND
- local btnKickAll = CONTENT_UNIVERSAL.BT_KICKALL
- local btnNoFog = CONTENT_UNIVERSAL.BT_NFOG
- local btnPlayMusic = CONTENT_UNIVERSAL.BT_PMUSIC
- local tbID = CONTENT_UNIVERSAL.TB_ID
- --Spawning
- local sfrmResults = _UI.LBL_SPAWN.SF_SPAWN.SF_SPAWNING -- PLEASE ADD A SPWANING TAB
- local search = _UI.LBL_SPAWN.SF_SPAWN.TB_COLOR
- local btnSpawn = _UI.LBL_SPAWN.SF_SPAWN.BT_SPAWN
- --Player
- local LBL_PLROPTIONS = _UI.LBL_PLROPTIONS.SF_OPTIONS
- local sfrmPlayers = CONTENT_PLAYER.PlayerList
- local btnKill = CONTENT_PLAYER.BT_KILL
- local btnStealAll = CONTENT_PLAYER.BT_SALL
- local btnGotoP = CONTENT_PLAYER.BT_GOTO
- local lblSelected = CONTENT_PLAYER.SELECTED
- local btnKick = CONTENT_PLAYER.BT_KICK
- local btnPlayerKills = LBL_PLROPTIONS.BT_KILLS
- local btnZombieKills = LBL_PLROPTIONS.BT_ZKILLS
- local btnDays = LBL_PLROPTIONS.BT_DAYS
- local tbValue = LBL_PLROPTIONS.TB_VALUE
- local kitFal = LBL_PLROPTIONS.BT_KFAL
- local kitG36K = LBL_PLROPTIONS.BT_KG36K
- local kitPatriot = LBL_PLROPTIONS.BT_KPATRIOT
- --LocalPlayer
- local btnC4Walk = CONTENT_LOCALPLAYER.BT_C4
- local btnESP = CONTENT_LOCALPLAYER.BT_ESP
- local btnFly = CONTENT_LOCALPLAYER.BT_FLY
- local btnGod = CONTENT_LOCALPLAYER.BT_GOD
- local btnHunger = CONTENT_LOCALPLAYER.BT_HUNGER
- local btnThirst = CONTENT_LOCALPLAYER.BT_THIRST
- local btnNoRecoil = CONTENT_LOCALPLAYER.BT_NORECOIL
- --Vehicles
- local btnCarSpawn = CONTENT_VEHICLE.BT_SPAWN
- local btnGotoV = CONTENT_VEHICLE.BT_GOTO
- local btnSetSpeed = CONTENT_VEHICLE.BT_SPEED
- local speed = CONTENT_VEHICLE.TB_SPEED
- local btnHorn = CONTENT_VEHICLE.BT_HORN
- local btnCarGod = CONTENT_VEHICLE.BT_GOD
- BT_HIDE = _UI.BT_HIDE
- --
- OPTION_CHANGEING_STATE = false
- local _OPTION_STATE = 'Hidden'
- CONTENT_PLAYER.BT_OPTIONS.MouseButton1Click:connect(function()
- if OPTION_CHANGEING_STATE then return end
- OPTION_CHANGEING_STATE = true
- if _OPTION_STATE == 'Hidden' then
- _OPTION_STATE = 'Visible'
- _UI.LBL_PLROPTIONS.Visible = true
- _UI.LBL_PLROPTIONS.Text = 'Spawning'
- _UI.LBL_PLROPTIONS:TweenSize(UDim2.new(0.25,0,.05,0),'Out','Quad',1)
- else
- _OPTION_STATE = 'Hidden'
- _UI.LBL_PLROPTIONS.Text = ''
- _UI.LBL_PLROPTIONS:TweenSize(UDim2.new(0,0,.05,0),'Out','Quad',1)
- end
- OPTION_CHANGEING_STATE = false
- end)
- --/ End Button Declarations \--
- --Random Hide and show stuff lmao
- TOGGLE_CHANGEING_STATE = false
- local _TOGGLE_STATE = 'Visible'
- BT_HIDE.MouseButton1Click:connect(function()
- if TOGGLE_CHANGEING_STATE then return end
- TOGGLE_CHANGEING_STATE = true
- if _TOGGLE_STATE == 'Visible' then
- BT_HIDE.Text = 'SHOW'
- _UI.MAIN_FRAME:TweenSize(UDim2.new(0.055, 0,0.395, 0),'In','Quad',1)
- BT_HIDE:TweenPosition(UDim2.new(0, 0,0.618, 0),'In','Quad',1)
- wait(1)
- _UI.Hide.Visible = true
- _TOGGLE_STATE = 'Hidden'
- else
- _UI.Hide.Visible = false
- _TOGGLE_STATE = 'Visible'
- _UI.MAIN_FRAME:TweenSize(UDim2.new(0.27, 0,0.395, 0),'Out','Quad',1)
- BT_HIDE:TweenPosition(UDim2.new(0.207, 0,0.618, 0),'Out','Quad',1)
- wait(.2)
- BT_HIDE.Text = 'Hide'
- end
- TOGGLE_CHANGEING_STATE = false
- end)
- --Variables
- local sfrmAvailable = CONTENT_VEHICLE.ScrollingFrame
- local lblSelV = CONTENT_VEHICLE.SELECTED
- local player = game.Players.LocalPlayer
- --/ Values \--
- local gmode = Instance.new("BoolValue", _UI)
- gmode.Name = "GodMode"
- local floatmode = Instance.new("BoolValue", _UI)
- floatmode.Name = "FloatMode"
- local ncmode = Instance.new("BoolValue", _UI)
- ncmode.Name = "NCMode"
- local c4walkon = Instance.new("BoolValue", _UI)
- c4walkon.Name = "C4WalkOn"
- c4walkon.Value = false
- local espon = Instance.new("BoolValue", _UI)
- espon.Name = "ESPOn"
- espon.Value = false
- local flyon = Instance.new("BoolValue", _UI)
- flyon.Name = "FlyOn"
- flyon.Value = false
- --UI functions
- --ITEM LIST
- local itemlist = {
- {["NAME"] = "AK-104", ["ID"] = 1037},
- {["NAME"] = "WindscreenGlass", ["ID"] = 184},
- {["NAME"] = "WaterBottle", ["ID"] = 209},
- {["NAME"] = "Watch", ["ID"] = 3001},
- {["NAME"] = "VehicleJack", ["ID"] = 3016},
- {["NAME"] = "Vegetables", ["ID"] = 214},
- {["NAME"] = "VS50", ["ID"] = 256},
- {["NAME"] = "Uzi", ["ID"] = 2015},
- {["NAME"] = "Ushanka", ["ID"] = 7014},
- {["NAME"] = "USP45Ammo", ["ID"] = 26},
- {["NAME"] = "USP45", ["ID"] = 2007},
- {["NAME"] = "Twinkies", ["ID"] = 212},
- {["NAME"] = "Tuna", ["ID"] = 4},
- {["NAME"] = "TrinityBeret", ["ID"] = 7015},
- {["NAME"] = "TomatoSoup", ["ID"] = 215},
- {["NAME"] = "TM46", ["ID"] = 257},
- {["NAME"] = "TEC9Ammo32", ["ID"] = 57},
- {["NAME"] = "TEC9Ammo20", ["ID"] = 56},
- {["NAME"] = "TEC9Ammo", ["ID"] = 20},
- {["NAME"] = "TEC-9", ["ID"] = 2005},
- {["NAME"] = "SurvivalPackTan", ["ID"] = 4009},
- {["NAME"] = "SurvivalPackGrey", ["ID"] = 4010},
- {["NAME"] = "SurvivalPackGreen", ["ID"] = 4011},
- {["NAME"] = "SurvivalPackBrown", ["ID"] = 4012},
- {["NAME"] = "Suppressor9", ["ID"] = 9007},
- {["NAME"] = "Suppressor762", ["ID"] = 9010},
- {["NAME"] = "Suppressor556", ["ID"] = 9009},
- {["NAME"] = "Suppressor545", ["ID"] = 9011},
- {["NAME"] = "Suppressor45", ["ID"] = 9008},
- {["NAME"] = "Spam", ["ID"] = 6},
- {["NAME"] = "SodaSprite", ["ID"] = 205},
- {["NAME"] = "SodaRoot", ["ID"] = 207},
- {["NAME"] = "SodaPepsi", ["ID"] = 7},
- {["NAME"] = "SodaPepper", ["ID"] = 9},
- {["NAME"] = "SodaMoxie", ["ID"] = 208},
- {["NAME"] = "SodaDew", ["ID"] = 202},
- {["NAME"] = "SodaCrush", ["ID"] = 201},
- {["NAME"] = "SodaCoke", ["ID"] = 8},
- {["NAME"] = "ShotgunAmmo", ["ID"] = 18},
- {["NAME"] = "Shotgun", ["ID"] = 1002},
- {["NAME"] = "ShadesGrey", ["ID"] = 8005},
- {["NAME"] = "ShadesBlack", ["ID"] = 8001},
- {["NAME"] = "ScrapMetal", ["ID"] = 183},
- {["NAME"] = "Sabre", ["ID"] = 3014},
- {["NAME"] = "SUSAT", ["ID"] = 9014},
- {["NAME"] = "STANAGAmmo50", ["ID"] = 52},
- {["NAME"] = "STANAGAmmo30", ["ID"] = 51},
- {["NAME"] = "STANAGAmmo100", ["ID"] = 53},
- {["NAME"] = "SKSAmmo", ["ID"] = 45},
- {["NAME"] = "SKS", ["ID"] = 1018},
- {["NAME"] = "SCAR-L", ["ID"] = 1022},
- {["NAME"] = "RoadFlare", ["ID"] = 251},
- {["NAME"] = "RevolverAmmo", ["ID"] = 25},
- {["NAME"] = "Revolver", ["ID"] = 2006},
- {["NAME"] = "ReinforcedWheel", ["ID"] = 189},
- {["NAME"] = "Reflex", ["ID"] = 9003},
- {["NAME"] = "RedChemlight", ["ID"] = 3020},
- {["NAME"] = "RedBeret", ["ID"] = 7013},
- {["NAME"] = "RawMeat", ["ID"] = 220},
- {["NAME"] = "Ranger", ["ID"] = 7003},
- {["NAME"] = "RamboClothingTop", ["ID"] = 5003},
- {["NAME"] = "RamboClothingBottom", ["ID"] = 6003},
- {["NAME"] = "Radio", ["ID"] =3018},
- {["NAME"] = "RPK", ["ID"] = 1034},
- {["NAME"] = "Pringles", ["ID"] =204},
- {["NAME"] = "PilotGreen", ["ID"] = 7010},
- {["NAME"] = "PilotBlack", ["ID"] = 7009},
- {["NAME"] = "Pasta", ["ID"] = 5},
- {["NAME"] = "Painkillers", ["ID"] = 12},
- {["NAME"] = "PaddedClothingTop", ["ID"] = 5002},
- {["NAME"] = "PaddedClothingBottom", ["ID"] = 6002},
- {["NAME"] = "PPSHAmmo", ["ID"] = 46},
- {["NAME"] = "PPSH", ["ID"] = 1019},
- {["NAME"] = "PP19Ammo64", ["ID"] = 58},
- {["NAME"] = "SmallCrate", ["ID"] = 38},
- {["NAME"] = "OmniLight", ["ID"] = 3015},
- {["NAME"] = "OTs-14", ["ID"] = 1036},
- {["NAME"] = "NagantAmmo", ["ID"] = 17},
- {["NAME"] = "Mosin-Nagant", ["ID"] = 1001},
- {["NAME"] = "Model459Ammo14", ["ID"] = 59},
- {["NAME"] = "Model 459", ["ID"] = 2013},
- {["NAME"] = "Mk48Ammo", ["ID"] = 23},
- {["NAME"] = "Mk 48", ["ID"] = 1005},
- {["NAME"] = "Mk 23", ["ID"] = 2018},
- {["NAME"] = "Mk 17", ["ID"] = 1031},
- {["NAME"] = "MilitaryPackGrime", ["ID"] = 4013},
- {["NAME"] = "MilitaryPackGrey", ["ID"] = 4015},
- {["NAME"] = "MilitaryPackGreen", ["ID"] = 4014},
- {["NAME"] = "MilitaryPackBlack", ["ID"] = 4016},
- {["NAME"] = "MaverickAmmo", ["ID"] = 27},
- {["NAME"] = "Maverick", ["ID"] = 1010},
- {["NAME"] = "Material6", ["ID"] = 36},
- {["NAME"] = "Material5", ["ID"] = 35},
- {["NAME"] = "Material4", ["ID"] = 34},
- {["NAME"] = "Material3", ["ID"] = 33},
- {["NAME"] = "Material2", ["ID"] = 32},
- {["NAME"] = "Material1", ["ID"] = 31},
- {["NAME"] = "Matches", ["ID"] = 3005},
- {["NAME"] = "MaskSpecOps", ["ID"] = 8009},
- {["NAME"] = "MaskPhantom", ["ID"] = 8013},
- {["NAME"] = "MaskMime", ["ID"] = 8008},
- {["NAME"] = "MaskMercenary", ["ID"] = 8007},
- {["NAME"] = "MaskHockey", ["ID"] = 8012},
- {["NAME"] = "Map", ["ID"] = 3003},
- {["NAME"] = "MakarovAmmo", ["ID"] = 16},
- {["NAME"] = "Makarov", ["ID"] = 2003},
- {["NAME"] = "MRE", ["ID"] = 10},
- {["NAME"] = "MP5Ammo", ["ID"] = 29},
- {["NAME"] = "MP5", ["ID"] = 1012},
- {["NAME"] = "M9Ammo32", ["ID"] = 55},
- {["NAME"] = "M9Ammo17", ["ID"] = 54},
- {["NAME"] = "M9Ammo", ["ID"] = 19},
- {["NAME"] = "M93R", ["ID"] = 2016},
- {["NAME"] = "M9", ["ID"] = 2004},
- {["NAME"] = "M870Ammo", ["ID"] = 28},
- {["NAME"] = "M870", ["ID"] = 1011},
- {["NAME"] = "M4A1Ammo", ["ID"] = 22},
- {["NAME"] = "M4A1", ["ID"] = 1004},
- {["NAME"] = "M3Ammo30", ["ID"] = 60},
- {["NAME"] = "M3", ["ID"] = 1028},
- {["NAME"] = "M249Ammo100", ["ID"] = 61},
- {["NAME"] = "M249", ["ID"] = 1024},
- {["NAME"] = "M1911Ammo", ["ID"] = 15},
- {["NAME"] = "M1911", ["ID"] = 2002},
- {["NAME"] = "M14Ammo50", ["ID"] = 64},
- {["NAME"] = "M14Ammo30", ["ID"] = 63},
- {["NAME"] = "M14Ammo20", ["ID"] = 62},
- {["NAME"] = "M14", ["ID"] = 1016},
- {["NAME"] = "M1014", ["ID"] = 1027},
- {["NAME"] = "M1 Garand", ["ID"] = 1006},
- {["NAME"] = "Lemonade", ["ID"] = 206},
- {["NAME"] = "Laser", ["ID"] = 9006},
- {["NAME"] = "Kobra", ["ID"] = 9004},
- {["NAME"] = "Knife", ["ID"] = 3013},
- {["NAME"] = "KethArmorTop", ["ID"] = 5011},
- {["NAME"] = "KethArmorBottom", ["ID"] = 6011},
- {["NAME"] = "JerryCanEmpty", ["ID"] = 186},
- {["NAME"] = "JerryCan", ["ID"] = 185},
- {["NAME"] = "HornRimmed", ["ID"] = 8006},
- {["NAME"] = "Holo", ["ID"] = "9002"},
- {["NAME"] = "HikingPackWhite", ["ID"] = 4006},
- {["NAME"] = "HikingPackOrange", ["ID"] = 4005},
- {["NAME"] = "HikingPackBrown", ["ID"] = 4008},
- {["NAME"] = "HikingPackBlue", ["ID"] = 4007},
- {["NAME"] = "Hatchet", ["ID"] = 3011},
- {["NAME"] = "HK417", ["ID"] = 1033},
- {["NAME"] = "HK21", ["ID"] = 1032},
- {["NAME"] = "GusArmorTop", ["ID"] = 5010},
- {["NAME"] = "GusArmorBottom", ["ID"] = 6010},
- {["NAME"] = "Grip", ["ID"] = 9005},
- {["NAME"] = "GreenChemlight", ["ID"] = 3021},
- {["NAME"] = "GarandAmmo", ["ID"] = 24},
- {["NAME"] = "GPS", ["ID"] = 3006},
- {["NAME"] = "G37", ["ID"] = 2017},
- {["NAME"] = "G36K", ["ID"] = 1023},
- {["NAME"] = "G3", ["ID"] = 1030},
- {["NAME"] = "G18Ammo", ["ID"] = 41},
- {["NAME"] = "G18", ["ID"] = 2011},
- {["NAME"] = "FuelTank", ["ID"] = 182},
- {["NAME"] = "Floodlight", ["ID"] = 37},
- {["NAME"] = "FlashlightSurvival", ["ID"] = 3009},
- {["NAME"] = "FlashlightOld", ["ID"] = 3008},
- {["NAME"] = "FlashlightMilitary", ["ID"] = 3010},
- {["NAME"] = "FlashlightAttachment", ["ID"] = 9012},
- {["NAME"] = "Firewood", ["ID"] = 250},
- {["NAME"] = "Firefighter", ["ID"] = 8004},
- {["NAME"] = "FedorovAmmo", ["ID"] = 44},
- {["NAME"] = "Fedorov", ["ID"] = 1017},
- {["NAME"] = "Fedora", ["ID"] = 7004},
- {["NAME"] = "FannyPackWhite", ["ID"] = 4002},
- {["NAME"] = "FannyPackTan", ["ID"] = 4001},
- {["NAME"] = "FannyPackPurple", ["ID"] = 4004},
- {["NAME"] = "FannyPackBlue", ["ID"] = 4003},
- {["NAME"] = "FAL", ["ID"] = 1029},
- {["NAME"] = "Eyepatch", ["ID"] = 8003},
- {["NAME"] = "Entrencher", ["ID"] = 3004},
- {["NAME"] = "EngineParts", ["ID"] = 181},
- {["NAME"] = "EnfieldAmmo", ["ID"] = 42},
- {["NAME"] = "Enfield", ["ID"] = 1015},
- {["NAME"] = "Detonator", ["ID"] = 3017},
- {["NAME"] = "Crowbar", ["ID"] = 3012},
- {["NAME"] = "CowlGreen", ["ID"] = 7002},
- {["NAME"] = "CowlBlack", ["ID"] = 7001},
- {["NAME"] = "Cowboy", ["ID"] = 7012},
- {["NAME"] = "CookedMeat", ["ID"] = 221},
- {["NAME"] = "Compass", ["ID"] = 3002},
- {["NAME"] = "ClothingTopFalse", ["ID"] = 5000},
- {["NAME"] = "ClothingBottomFalse", ["ID"] = 6000},
- {["NAME"] = "CivilianClothingTop", ["ID"] = 5001},
- {["NAME"] = "CivilianClothingBottom", ["ID"] = 6001},
- {["NAME"] = "ChocolateBar", ["ID"] = 211},
- {["NAME"] = "ChipsAhoy", ["ID"] = 213},
- {["NAME"] = "ChickenSoup", ["ID"] = 216},
- {["NAME"] = "CheezIts", ["ID"] = 203},
- {["NAME"] = "CarWheel", ["ID"] = 180},
- {["NAME"] = "CamoWoodlandsTop", ["ID"] = 5007},
- {["NAME"] = "CamoWoodlandsBottom", ["ID"] = 6007},
- {["NAME"] = "CamoUrbanTop", ["ID"] = 5005},
- {["NAME"] = "CamoUrbanBottom", ["ID"] = 6005},
- {["NAME"] = "CamoSpecialTop", ["ID"] = 5009},
- {["NAME"] = "CamoSpecialBottom", ["ID"] = 6009},
- {["NAME"] = "CamoSnowTop", ["ID"] = 5008},
- {["NAME"] = "CamoSnowBottom", ["ID"] = 6008},
- {["NAME"] = "CamoJungleTop", ["ID"] = 5006},
- {["NAME"] = "CamoJungleBottom", ["ID"] = 6006},
- {["NAME"] = "CamoDesertTop", ["ID"] = 5004},
- {["NAME"] = "CamoDesertBottom", ["ID"] = 6004},
- {["NAME"] = "CZ75Ammo", ["ID"] = 40},
- {["NAME"] = "CZ75", ["ID"] = 2010},
- {["NAME"] = "CCO", ["ID"] = 9001},
- {["NAME"] = "CBJ-MS", ["ID"] = 2014},
- {["NAME"] = "C4", ["ID"] = "255"},
- {["NAME"] = "BrimmedBrown", ["ID"] = 7007},
- {["NAME"] = "BrimmedBlack", ["ID"] = 7008},
- {["NAME"] = "Bowler", ["ID"] = 7005},
- {["NAME"] = "BlueChemlight", ["ID"] = 3022},
- {["NAME"] = "BloodBag", ["ID"] = 11},
- {["NAME"] = "Binoculars", ["ID"] = 3007},
- {["NAME"] = "Biker", ["ID"] = 7006},
- {["NAME"] = "BeefStew", ["ID"] = 217},
- {["NAME"] = "BeefJerky", ["ID"] = 210},
- {["NAME"] = "Beans", ["ID"] = 3},
- {["NAME"] = "Beanie", ["ID"] = 7011},
- {["NAME"] = "BandanaSkull", ["ID"] = 8014},
- {["NAME"] = "BandanaRenegade", ["ID"] = 8011},
- {["NAME"] = "BandanaRed", ["ID"] = 8010},
- {["NAME"] = "BandanaBlack", ["ID"] = 8002},
- {["NAME"] = "BallisticUrban", ["ID"] = 7018},
- {["NAME"] = "BallisticSpecOps", ["ID"] = 701},
- {["NAME"] = "BallisticJungle", ["ID"] = 7017},
- {["NAME"] = "BallisticGlass", ["ID"] = 187},
- {["NAME"] = "BallisticDesert", ["ID"] = 7016},
- {["NAME"] = "Auto-5", ["ID"] = 1025},
- {["NAME"] = "ArmorPlates", ["ID"] = 188},
- {["NAME"] = "AN-94", ["ID"] = 1040},
- {["NAME"] = "AKS-74U", ["ID"] = 1041},
- {["NAME"] = "AKM", ["ID"] = 1038},
- {["NAME"] = "AKAmmo75", ["ID"] = 67},
- {["NAME"] = "AKAmmo45", ["ID"] = 66},
- {["NAME"] = "AKAmmo30", ["ID"] = 65},
- {["NAME"] = "AK47Ammo75", ["ID"] = 50},
- {["NAME"] = "AK47Ammo40", ["ID"] = 49},
- {["NAME"] = "AK47Ammo30", ["ID"] = 48},
- {["NAME"] = "AK-74", ["ID"] = 1039},
- {["NAME"] = "AK-47", ["ID"] = 1003},
- {["NAME"] = "AK-12", ["ID"] = 1035},
- {["NAME"] = "ACOG", ["ID"] = 9013},
- {["NAME"] = "LargeCrate", ["ID"] = 39},
- {["NAME"] = "PP-19", ["ID"] = 1026},
- }
- --Functions
- --Get Gun
- function getGun()
- local bp = player.Backpack:GetChildren()
- for i = 1, #bp do
- if bp[i]:IsA("Model") and bp[i]:FindFirstChild("Shooter") then return bp[i] end
- end
- return nil
- end
- --abc
- function alphabetize(p1, p2) --takes two player names and returns true when p1 < p2 alphabetically
- local name1 = p1.Name:lower()
- local n1 = name1:sub(1, 1):byte()
- local name2 = p2.Name:lower()
- local n2 = name2:sub(1, 1):byte()
- if n1 < n2 then return true else return false end
- end
- function getGuns() --returns both primary and secondary if available
- local tab = {}
- for i, v in pairs(player.Backpack:GetChildren()) do
- if v:FindFirstChild("Shooter") then table.insert(tab, v) end
- end
- if #tab > 1 then return tab[1], tab[2]
- else return tab[1] end
- end
- --spawn stuff
- local loot = game.Lighting.LootDrops:GetChildren()
- local names = {}
- for i = 1, #loot do if loot[i]:IsA("Model") then table.insert(names, loot[i].Name) end end
- --Matching and abc'ing the search
- function getMatches(text)
- local matches = {}
- for i = 1, #loot do
- local name = loot[i].Name:lower()
- if name:find(text:lower()) then table.insert(matches, loot[i]) end
- end
- table.sort(matches, alphabetize)
- return matches
- end
- --Search Results
- search.Changed:connect(function()
- for i, v in ipairs(sfrmResults:GetChildren()) do v:Destroy() end
- local text = search.Text
- local matches = getMatches(text)
- if matches then
- sfrmResults.Visible = true
- sfrmResults.CanvasSize = UDim2.new(0, 225, 0, (#matches*25) - 25)
- for i = 1, #matches do
- local item = matches[i].Name
- local btn = Instance.new("TextButton", sfrmResults)
- btn.Font = Enum.Font.SourceSansBold
- btn.FontSize = Enum.FontSize.Size14
- btn.Style = Enum.ButtonStyle.Custom
- btn.BackgroundColor3 = Color3.new(56/255, 136/255, 255.255)
- btn.Text = item
- btn.TextColor3 = Color3.new(255, 255, 255)
- btn.TextXAlignment = Enum.TextXAlignment.Left
- btn.Name = item
- btn.Position = UDim2.new(0, 0, 0, (i*25) - 25)
- btn.Size = UDim2.new(0, 210, 0, 25)
- btn.MouseButton1Click:connect(function() search.Text = btn.Text end)
- end
- end
- if not matches then sfrmResults.Visible = false end
- end)
- --Next Open Slot
- function getNextOpenSlot()
- for i = 1, 20 do
- if not player.playerstats.slots["slot"..i]:FindFirstChild("ObjectID") then return i end
- end
- end
- --Getting the item Id from the text input
- function getItemID(text) --takes text name of item and returns object id
- if game.Lighting:FindFirstChild(text) then
- local id = game.Lighting:FindFirstChild(text).ObjectID.Value
- return id
- else return nil
- end
- end
- --Seeing if the player has the loot wanted
- function findItemFromPlayer(text) --returns slot of item if player has it, else nil
- if getItemID(text) then
- for i, plr in pairs(game.Players:GetPlayers()) do
- for i = 1, 20 do
- local slot = plr.playerstats.slots["slot"..i]
- if slot:FindFirstChild("ObjectID") then if slot.ObjectID.Value == getItemID(text) then return slot end
- end
- local slotp = player.playerstats.slots.slotprimary
- local slots = player.playerstats.slots.slotsecondary
- if slotp:FindFirstChild("ObjectID") and slotp.ObjectID == getItemID(text) then return slotp
- elseif slots:FindFirstChild("ObjectID") and slots.ObjectID == getItemID(text) then return slots
- else return nil
- end
- end
- end
- end
- end
- --Find Vehicles
- local selv = Instance.new("ObjectValue", _UI)
- selv.Name = "SelectedVehicle"
- function getVehicles()
- local vs = game.Workspace.Vehicles:GetChildren()
- local vehicles = {}
- for i = 1, #vs do
- if vs[i].Name ~= "Holder" and vs[i].Name ~= "VehicleWreck" then table.insert(vehicles, vs[i]) end
- end
- table.sort(vehicles, alphabetize)
- return vehicles
- end
- --Noclip, Do we even use this? lmao
- local function noclip()
- for i, v in pairs(player.Character:GetChildren()) do
- if v:IsA("Part") then v.CanCollide = false end
- end
- end
- --Making the list of vehicles
- local function formVehicleList()
- CONTENT_VEHICLE.ScrollingFrame:ClearAllChildren()
- wait()
- local curVehiclePosition = UDim2.new(0,0,0,0)
- for _,v in pairs(game.Workspace.Vehicles:GetChildren()) do
- local VehicleButton = formInstance('TextButton', {BackgroundColor3=Color3.fromRGB(62,175,255),BorderSizePixel=2,BorderColor3=Color3.fromRGB(255,255,255),
- Position=curVehiclePosition,Size=UDim2.new(1,0,0,25),ZIndex=2,TextSize=14,Font=Enum.Font.SourceSansBold,Text=v.Name,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,Parent=CONTENT_VEHICLE.ScrollingFrame})
- curVehiclePosition = curVehiclePosition + UDim2.new(0,0,0,25)
- CONTENT_VEHICLE.ScrollingFrame.CanvasSize = UDim2.new(0,0,0,(30*#game.Workspace.Vehicles:GetChildren()))
- VehicleButton.MouseButton1Click:connect(function()
- CONTENT_VEHICLE.SELECTED.Text = 'SELECTED: '..v.Name
- selv.Value = v
- end)
- end
- end
- formVehicleList()
- --Universal
- --Universal
- --Kill Zombies
- btnKillZ.MouseButton1Click:connect(function()
- for i, town in ipairs(workspace.Zombies:GetChildren()) do
- for i, z in pairs(town:GetChildren()) do
- if z:IsA("Model") then workspace.Remote.DamageZombie:FireServer(z:FindFirstChild("Humanoid"), 1000) end
- end
- end
- end)
- --Steal All Universal
- btnStealAllU.MouseButton1Click:connect(function()
- local plrs = game.Players:GetPlayers()
- for i = 1, #plrs do
- local plr = plrs[i]
- if plr ~= player then
- for i = 1, 20 do --steals all items in inv
- if plr.playerstats.slots:FindFirstChild("slot"..i):FindFirstChild("ObjectID") then
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots:FindFirstChild("slot"..i), plr.playerstats.slots:FindFirstChild("slot"..i).ObjectID)
- end
- end
- if plr.playerstats.slots.slotprimary:FindFirstChild("ObjectID") then --steals primary
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots.slotprimary, plr.playerstats.slots.slotprimary.ObjectID)
- end
- if plr.playerstats.slots.slotsecondary:FindFirstChild("ObjectID") then --steals secondary
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots.slotsecondary, plr.playerstats.slots.slotsecondary.ObjectID)
- end
- for i = 1, 7 do
- if plr.playerstats.utilityslots["slot"..i]:FindFirstChild("ObjectID") then
- workspace.Remote.DropItem:FireServer(plr.playerstats.utilityslots["slot"..i], plr.playerstats.utilityslots["slot"..i].ObjectID)
- end
- end
- end
- end
- end)
- --Server Message
- btnSendMsg.MouseButton1Click:connect(function()
- for i, v in pairs(game.Players:GetPlayers()) do
- workspace.Remote.SendMessage:FireServer(v, _UI.LBL_MSG.SF_MSG.TB_COLOR.Text, ''.._UI.LBL_MSG.SF_MSG.TB_MSG.Text..'')
- end
- end)
- --Server Music
- btnPlayMusic.MouseButton1Click:connect(function()
- game.Workspace.Remote.CreateSounds:InvokeServer()
- fireserver("ChangeParent", game.Players.LocalPlayer.Character.Head.Sound, game.Workspace)
- wait(2)
- fireserver("SoundIdSet", game.Workspace.Sound, "http://www.roblox.com/asset/?id="..tbID.Text.."")
- wait(2)
- fireserver("PlaySound", game.Workspace.Sound, 1, 1)
- wait(120)
- fireserver("StopSound", game.Workspace.Sound)
- end)
- --No Fog
- btnNoFog.MouseButton1Click:connect(function()
- game.Lighting.FogEnd = 1000000000
- end)
- --Kick All
- btnKickAll.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name == game.Players.LocalPlayer.Name then
- print("Excluded myself.")
- else
- wait(.01)
- fireserver("Destruct", v)
- end
- end
- end)
- --Kill All
- btnKillAll.MouseButton1Click:connect(function()
- local gun = getGun()
- if not gun then
- btnKillAll.Text = "Error"
- wait()
- btnKillAll.Text = "Kill All"
- return
- end
- for i, plr in ipairs(game.Players:GetPlayers()) do
- if gun and plr.Character and plr ~= player then
- for i = 1, 6 do workspace.Remote.DoHitLogic:FireServer(gun, plr.Character.Head) end
- end
- end
- end)
- --Vehicles
- --Go To Selected Vehicle
- btnGotoV.MouseButton1Click:connect(function()
- if selv.Value then
- local veh = selv.Value
- player.Character.HumanoidRootPart.CFrame = CFrame.new(veh.PrimaryPart.Position + Vector3.new(0, 7, 0))
- end
- end)
- --Spawn Selected Vehicle
- btnCarSpawn.MouseButton1Click:connect(function()
- local activeveh = ""
- local vehname = activeveh
- local veh = selv.Value
- local torsopos = game.Players.LocalPlayer.Character.Torso.Position
- local vehpos = veh.PrimaryPart.Position
- local newpos = Vector3.new(torsopos.x - vehpos.x, torsopos.y - vehpos.y, torsopos.z - vehpos.z) + Vector3.new(20, 0, 0)
- game.Workspace.Remote.PlaceMaterial:FireServer(veh, newpos)
- local workspacecar = game.Workspace:FindFirstChild(vehname)
- workspacecar.Parent = game.Lighting
- end)
- --Change the selected vehicles horn
- --Horn
- btnHorn.MouseButton1Click:connect(function()
- fireserver("SoundIdSet", selv.Value.Essentials.Base.Horn, "rbxassetid://"..speed.Text.."")
- end)
- --Car God
- btnCarGod.MouseButton1Click:connect(function()
- local veh = selv.Value
- fireserver("ChangeValue", veh.Stats.Engine, 66645358)
- wait(.5)
- fireserver("ChangeValue", veh.Stats.Tank, 66645358)
- wait(.5)
- fireserver("ChangeValue", veh.Stats.Hull, 66645358)
- wait(.5)
- fireserver("ChangeValue", veh.Stats.Armor, 66645358)
- wait(.5)
- fireserver("ChangeValue", veh.Stats.Fuel, 543)
- wait(.5)
- end)
- --Speed Vehicle
- btnSetSpeed.MouseButton1Click:connect(function()
- local veh = selv.Value
- fireserver("ChangeValue", veh.Stats.MaxSpeed, speed.Text)
- fireserver("ChangeValue", veh.Stats.MaxSpeed.Offroad, speed.Text)
- end)
- --Local Player
- --God
- btnGod.MouseButton1Click:connect(function()
- fireserver("AddDamage", game.Players.LocalPlayer.Character.Humanoid, math.huge)
- end)
- --Hunger
- btnHunger.MouseButton1Click:connect(function() player.playerstats.Hunger.Value = 1000 end)
- --Thirst
- btnThirst.MouseButton1Click:connect(function() player.playerstats.Thirst.Value = 1000 end)
- --C4 Walk
- btnC4Walk.MouseButton1Click:connect(function()
- if not c4walkon.Value then
- c4walkon.Value = true
- btnC4Walk.Text = "C4Walk: ON"
- spawn(function()
- while true do
- workspace.Remote.PlaceC4:FireServer(game.Lighting.Materials.C4Placed, player.Character.Torso.Position - Vector3.new(1, 3, 1), true)
- wait(.5)
- if (not c4walkon.Value) or player.playerstats.Health == 0 then break end
- end
- end)
- else c4walkon.Value = false; btnC4Walk.Text = "C4Walk: OFF" end
- end)
- --ESP
- btnESP.MouseButton1Click:connect(function()
- if not espon.Value then
- espon.Value = true
- btnESP.Text = "ESP: ON"
- local function creategui(plr)
- if plr.Character then
- local dot = Instance.new("BillboardGui", player.PlayerGui)
- dot.Adornee = plr.Character.Head
- dot.AlwaysOnTop = true
- dot.Enabled = true
- dot.Active = false
- dot.Size = UDim2.new(0, 12, 0, 12)
- local lbl = Instance.new("TextLabel", dot)
- lbl.Size = UDim2.new(0, 12, 0, 12)
- lbl.BackgroundColor3 = Color3.new(56/255, 136/255, 255.255)
- lbl.BackgroundTransparency = 0
- lbl.TextColor3 = Color3.new(255, 255, 255)
- lbl.Text = ''
- end
- end
- local function vehiclegui(veh)
- local dot = Instance.new("BillboardGui", player.PlayerGui)
- dot.Adornee = veh.PrimaryPart
- dot.AlwaysOnTop = true
- dot.Enabled = true
- dot.Active = false
- dot.Size = UDim2.new(0, 12, 0, 12)
- local lbl = Instance.new("TextLabel", dot)
- lbl.Size = UDim2.new(0, 12, 0, 12)
- lbl.BackgroundColor3 = Color3.new(0, 255, 0)
- lbl.BackgroundTransparency = 0
- lbl.TextColor3 = Color3.new(255, 255, 255)
- lbl.Text = ''
- end
- for i, plr in pairs(game.Players:GetPlayers()) do
- if workspace:FindFirstChild(plr.Name) and plr.Character and plr ~= player and espon.Value then
- creategui(plr)
- end
- end
- for i, v in pairs(getVehicles()) do
- if v then vehiclegui(v) end
- end
- game.Players.PlayerAdded:connect(function(plr)
- workspace:WaitForChild(plr.Name)
- if espon.Value then
- creategui(plr)
- end
- end)
- else
- for i, handle in ipairs(player.PlayerGui:GetChildren()) do
- if handle:IsA("BillboardGui") then handle:Destroy() end
- end
- espon.Value = false
- btnESP.Text = "ESP: OFF"
- end
- end)
- --Fly
- btnFly.MouseButton1Click:connect(function()
- if not flyon.Value then
- flyon.Value = true
- btnFly.Text = "Fly: ON"
- local t = player.Character.Torso
- bv = Instance.new("BodyVelocity", t)
- bg = Instance.new("BodyGyro", t)
- bg.MaxTorque = Vector3.new(1E12, 1E12, 1E12)
- bv.MaxForce = Vector3.new(1E12, 1E12, 1E12)
- bv.P = 3000
- local spd = 300
- keysEnabled = game:GetService("UserInputService").InputBegan:connect(function(iobj)
- local keycode = iobj.KeyCode
- if keycode ~= Enum.KeyCode.W and keycode ~= Enum.KeyCode.A and keycode ~= Enum.KeyCode.S and keycode ~= Enum.KeyCode.D
- and keycode ~= Enum.KeyCode.Q and keycode ~= Enum.KeyCode.E then return end--prevents lag
- local deb = true
- while true do
- if deb then
- wait()
- if not deb then break end
- keyup = game:GetService("UserInputService").InputEnded:connect(function(iobj2) if iobj2.KeyCode == keycode then deb = false end end)
- if keycode == Enum.KeyCode.W then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), -math.pi/10) end
- if keycode == Enum.KeyCode.S then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), math.pi/10) end
- if keycode == Enum.KeyCode.A then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), math.pi/10) end
- if keycode == Enum.KeyCode.D then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), -math.pi/10) end
- if keycode == Enum.KeyCode.Q then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), math.pi/10) end
- if keycode == Enum.KeyCode.E then bg.CFrame = t.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -math.pi/10) end
- if keycode == Enum.KeyCode.Up then spd = spd + 200 end
- if keycode == Enum.KeyCode.Down then spd = spd - 200 end
- bv.Velocity = bg.CFrame.lookVector*spd
- player.Character.Humanoid.Sit = true
- if not player.Character.Humanoid.Sit then break end
- if not deb then break end
- else break end
- end
- end)
- else keysEnabled:disconnect(); keyup:disconnect(); bv.Velocity = Vector3.new(); bv:Destroy(); bg:Destroy(); flyon.Value = false end
- end)
- --No Recoil
- btnNoRecoil.MouseButton1Click:connect(function()
- local primary, secondary = getGuns()
- if primary and secondary then
- local primary, secondary = getGuns()
- primary.Stats.Recoil.Value = "aBiPYSaIBA"
- secondary.Stats.Recoil.Value = "aBiPYSaIBA"
- elseif not secondary then
- primary.Stats.Recoil.Value = "aBiPYSaIBA"
- else btnNoRecoil.Text = "Error"; wait(1.5); btnNoRecoil.Text = "No Recoil"
- end
- end)
- --PLAYER
- --Spawning
- btnSpawn.MouseButton1Click:connect(function()
- local text = search.Text
- AddItem = function(Slot, ID)
- fireserver("AddObject", Slot, ID)
- end
- for i, v in pairs(itemlist) do
- if v.NAME == text then
- AddItem(game.Players.LocalPlayer.playerstats.slots["slot"..getNextOpenSlot()], v.ID)
- end
- end
- end)
- --Kill
- btnKill.MouseButton1Click:connect(function()
- local gun = getGun()
- if not gun or not selplr.Value then btnKill.Text = "Error"; wait(2); btnKill.Text = "Kill"; return end
- for i = 1, 10 do workspace.Remote.DoHitLogic:FireServer(gun, selplr.Value.Character.Head) end
- end)
- --Steal All
- btnStealAll.MouseButton1Click:connect(function()
- local plr = selplr.Value
- if not selplr.Value then btnKill.Text = "Error"; wait(2); btnKill.Text = "Kill"; return end
- for i = 1, 20 do --steals all items in inv
- if plr.playerstats.slots:FindFirstChild("slot"..i):FindFirstChild("ObjectID") then
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots:FindFirstChild("slot"..i), plr.playerstats.slots:FindFirstChild("slot"..i).ObjectID)
- end
- if plr.playerstats.slots.slotprimary:FindFirstChild("ObjectID") then --steals primary
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots.slotprimary, plr.Litats.slots.slotprimary.ObjectID)
- end
- if plr.playerstats.slots.slotsecondary:FindFirstChild("ObjectID") then --steals secondary
- workspace.Remote.DropItem:FireServer(plr.playerstats.slots.slotsecondary, plr.playerstats.slots.slotsecondary.ObjectID)
- end
- end
- for i = 1, 7 do --steals utilities
- if plr.playerstats.utilityslots["slot"..i]:FindFirstChild("ObjectID") then
- workspace.Remote.DropItem:FireServer(plr.playerstats.utilityslots["slot"..i], plr.playerstats.utilityslots["slot"..i].ObjectID)
- end
- end
- end)
- --GoTo
- btnGotoP.MouseButton1Click:connect(function()
- local plr = selplr.Value
- local o = plr.Name
- player.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players[o].Character.HumanoidRootPart.Position)
- end)
- --Kick
- btnKick.MouseButton1Click:connect(function()
- local plr = selplr.Value
- local o = plr.Name
- fireserver("Destruct", game.Players[o])
- end)
- --Change Kills
- btnPlayerKills.MouseButton1Click:connect(function()
- local plr = selplr.Value
- local o = plr.Name
- fireserver("ChangeValue", game.Players[o].playerstats.PlayerKill.Aggressive, tbValue.Text)
- end)
- --Change Zombie Kills
- btnZombieKills.MouseButton1Click:connect(function()
- local plr = selplr.Value
- local o = plr.Name
- fireserver("ChangeValue", game.Players[o].playerstats.ZombieKill.Military, tbValue.Text)
- end)
- --Change Days
- btnDays.MouseButton1Click:connect(function()
- local plr = selplr.Value
- local o = plr.Name
- fireserver("ChangeValue", game.Players[o].playerstats.Days, tbValue.Text)
- end)
- --Patriot kit
- kitPatriot.MouseButton1Click:connect(function()
- local me = selplr.Value
- fireserver("AddObject", me.playerstats.slots.slotbackpack, 4016)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotprimary, 1021)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.silencer, 9009)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotsecondary, 2011)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.silencer, 9007)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot1, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot2, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot3, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot4, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot5, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot6, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot7, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot8, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot9, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot10, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot11, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot12, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot13, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot14, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot15, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot16, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot17, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot18, 11)
- end)
- --G36K Kit
- kitG36K.MouseButton1Click:connect(function()
- local me = selplr.Value
- fireserver("AddObject", me.playerstats.slots.slotbackpack, 4016)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotprimary, 1023)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.silencer, 9009)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotsecondary, 2011)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.silencer, 9007)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot1, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot2, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot3, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot4, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot5, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot6, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot7, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot8, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot9, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot10, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot11, 53)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot12, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot13, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot14, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot15, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot16, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot17, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot18, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot19, 55)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot20, 55)
- end)
- --FAL Kit
- kitFal.MouseButton1Click:connect(function()
- local me = selplr.Value
- fireserver("AddObject", me.playerstats.slots.slotbackpack, 4016)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotprimary, 1029)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.silencer, 9010)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.primary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slotsecondary, 2011)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.under, 9006)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.silencer, 9007)
- wait(.2)
- fireserver("AddObject", me.playerstats.attachments.secondary.sight, 9013)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot1, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot2, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot3, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot4, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot5, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot6, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot7, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot8, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot9, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot10, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot11, 64)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot12, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot13, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot14, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot15, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot16, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot17, 11)
- wait(.2)
- fireserver("AddObject", me.playerstats.slots.slot18, 11)
- end)
- --Disables local anticheat measures
- player.PlayerGui.SkyboxRenderMode:Destroy()
- --End Of Function
- end
- startUp()
Add Comment
Please, Sign In to add comment