Originally Posted by
FaZe d00d
Standalone Chat Spammer
Anti Votekick/VoteBan
Code:
CreateClientConVar("Spam", 0)
CreateClientConVar("Spam_Message", "Get ******* at bighack.club")
local function Spam()
if GetConVarNumber("Spam") == 1 then
RunConsoleCommand("say", GetConVarString("Spam_Message"))
end
end
hook.Add("Think", "ChatSpam", Spam)
Code:
CreateClientConVar("AntiVoteKick", 0)
local function Anti()
if GetConVarNumber("AntiVoteKick") == 1 then
for k,v in RandomPairs(player.GetAll()) do
if v == LocalPlayer() then continue end
if v:GetFriendStatus() == "friend" then continue end
if v:IsAdmin() then continue end
RunConsoleCommand("ulx", "votekick", v:Name(), "hackerd by im friendly")
end
end
end
hook.Add("Think","AntiVoteKick", Anti)