TTT Traitor Finder (untested)
Tried doing it,put it in notepad,saved it as a lua file,went in a ttt server,in console i typed lua_openscript_cl (the name).lua and then it just said
Running script ttt3.lua... and nothing happend
---------- Post added at 02:57 PM ---------- Previous post was at 02:57 PM ----------
I know how to bypass and all,but where does it say who the traitors are,its not working for me
Running script ttt3.lua... and nothing happend
---------- Post added at 02:57 PM ---------- Previous post was at 02:57 PM ----------
I know how to bypass and all,but where does it say who the traitors are,its not working for me
this script doesnt work out of the box, for some reason i feel like helping leechers right now so heres the fixed version that doesnt require editing, no idea if it works cause i've never tested this script or my edit
Code:
local traitors = {}
local _R = debug.getregistry()
function ttt()
if string.find( string.lower( GAMEMODE.Name ), "terror" ) then return true end
return false
end
function cocks()
if ttt() then
for k, v in ipairs(player.GetAll()) do
if(v:Alive() and not table.HasValue(traitors, v)) then
for x, y in pairs(_R.Player.GetWeapons(v)) do
if(IsValid(y)) then
if(y.CanBuy and table.HasValue(y.CanBuy, ROLE_TRAITOR)) then
table.insert(traitors, v);
chat.AddText(Color(100, 100, 100),
"[daz has a small penis] ", Color(255, 10, 10), v:Nick() .. " has traitor weapon " .. y:GetClass() .. "!"
);
end
end
end
end
end
end
end
hook.Add( "Think", "trait", cocks )
So,how does this work? Do you join the game,run the script and it tells you the traitors in console? Or chat?
The one you just gave me and the other one both dont work,it will wont do anything at all,all it says is running script ttt3.lua (name of my lua file) and just does nothing after that.
Ahh,did not realize they had to purchase a T weapon,ill get back to you after i test it
if system32 == delete
end
pR0 lu4 k0D3r 81tcH
end
pR0 lu4 k0D3r 81tcH
This thread is closed for replies.


