Script Name:Prop Launch
Description: Launches you!
Credits: Me, Johntheawe
bind a key to "proplaunch", look up at sky diagonally, press bound key and FLAI (Practice, and practice and it will get easier) Also change the prop that launches you to the fence gate thingy ("models/props_building_details/Storefront_Template001a_Bars.mdl") If the lockers are banned on the server (blacklisted)
Code:
local function Proplaunch()
timer.Simple(0.00, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Simple(0.02, function()
LocalPlayer():ConCommand("gm_spawn models/props_c17/Lockers001a.mdl")
end)
timer.Simple(0.03, function()
LocalPlayer():ConCommand("+attack")
end)
timer.Simple(0.07, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
RunConsoleCommand("+jump")
timer.Simple(0.2, function() RunConsoleCommand("-jump") end)
end)
timer.Simple(0.85, function()
LocalPlayer():ConCommand("undo")
end)
timer.Simple(1.5, function()
LocalPlayer():ConCommand("-attack")
end)
end
concommand.Add("proplaunch", Proplaunch)
Tell me your problems if you have any. (you shouldn't it is a VERY simple script I wrote...)
---------- Post added at 11:27 PM ---------- Previous post was at 11:20 PM ----------
Traitor finder
Finds the traitors in TTT
Detects if they have bought a traitor weapon. I have a better script than this but I really don;t want to release it because it will be part of a VIP Hack I am coding.
By MEEEEE
Code:
local matOverlay = Material( "sprites/glow08" )
local matTraitor = Material( "sprites/dot" )
local twep = {"spiderman's_swep", "weapon_ttt_trait_defilibrator", "weapon_ttt_xbow", "weapon_ttt_dhook", "weapon_awp", "weapon_ttt_ak47", "weapon_jihadbomb", "weapon_ttt_knife", "weapon_ttt_c4", "weapon_ttt_decoy", "weapon_ttt_flaregun", "weapon_ttt_phammer", "weapon_ttt_push", "weapon_ttt_radio", "weapon_ttt_sipistol", "weapon_ttt_teleport", "weapon_ttt_awp", "weapon_mad_awp", "weapon_real_cs_g3sg1", "weapon_ttt_cvg_g3sg1", "weapon_ttt_g3sg1", "weapon_ttt_healthstation5", "weapon_ttt_sentry", "weapon_ttt_poison_dart", "weapon_ttt_trait_defibrillator"}
for _,v in pairs(player.GetAll()) do
v.HatTraitor = nil
end
for _,v in pairs(ents.GetAll()) do
v.HatESPTracked = nil
end
hook.Add("PostDrawOpaqueRenderables", "wire_animations_idle", function()
if GAMEMODE****und_state != ROUND_ACTIVE then
for _,v in pairs(player.GetAll()) do
v.HatTraitor = nil
end
for _,v in pairs(ents.GetAll()) do
v.HatESPTracked = nil
end
return
end
for _,v in pairs( ents.GetAll() ) do
if v and IsValid(v) and (table.HasValue(twep, v:GetClass()) and !v.HatESPTracked) then
local pl = v.Owner
if pl and IsValid(pl) and pl:IsTerror() then
if pl:IsDetective() then
v.HatESPTracked = true
else
v.HatESPTracked = true
pl.HatTraitor = true
chat.AddText( pl, Color(255,125,0), " is a ",Color(255,0,0), "TRAITOR",Color(255,125,0), " with a ",Color(255,0,0),v:GetClass().."!")
end
end
end
end
//Add a name for anyone we tracked
// cam.Start2D()
// local pos = (pl:GetPos()+Vector(0,0,100)):ToScreen()
// draw.DrawText( pl:Nick(), "ScoreboardText", pos['x'], pos['y'], team.GetColor( pl:Team() ), TEXT_ALIGN_CENTER )
// cam.End2D()
// end
end)
Hopefully the forum doesn't screw any code... tell me if it does. THANKS and have fun...[COLOR="Silver"][COLOR="Silver"]
Lol there was some code here of Lenny's Crosshair for some reason O.o I didn;t even put it :P Sorry about the confusion people...