All threads
Off-topic
Off-topic
Counter-Strike: Global Offensive
/
Configs
/
LobbyFeatures Lua
local username = Cheat.GetCheatUserName()
local client_console_cmd = EngineClient.ExecuteClientCmd
local welcometext = function()
client_console_cmd("clear")
print('Welcome '..username..'!')
print('Creator: TTakaTit#9492')
end
Panorama.LoadString([[
var collectedSteamIDS = []
var OnyxWaitPUpdate = null;
function OnyxStop() {
if (OnyxWaitPUpdate != null) {
$.UnregisterForUnhandledEvent( 'PanoramaComponent_Lobby_PlayerUpdated', OnyxWaitPUpdate);
OnyxWaitPUpdate = null;
}
}
OnyxStop();
var playerData = {
update: {
members: {
}
}
}
var updateMessage = "";
]])
welcometext()
local refresh_nearbies = function()
Panorama.LoadString([[
PartyBrowserAPI.Refresh();
var lobbies = PartyBrowserAPI.GetResultsCount();
for (var lobbyid = 0; lobbyid < lobbies; lobbyid++) {
var xuid = PartyBrowserAPI.GetXuidByIndex(lobbyid);
var name = PartyListAPI.GetFriendName(xuid)
if (!collectedSteamIDS.includes(xuid)) {
collectedSteamIDS.push(xuid);
$.Msg(`[Added] name: [${name}] id: [${xuid}] to the collection..`);
}
}
$.Msg(`[Collected]: [ ${collectedSteamIDS.length} ]`);
]])
end
Menu.GroupBox("[ Chat spam ]")
local input = Menu.InputText("[X] Chat spam message", "Get Good. Get MemeSense.", 64, function(text)
end)
local chatvalue = Menu.SliderInt(" [ X ] Chat spam value [ X ]", 1, 0, 1000, function()
end)
Menu.Button("[ X ] Chat spam [ X ]", function()
local texts = input:Get()
for i = 1, chatvalue:Get() do
Panorama.LoadString([[
var LobbyChat = $('#MainMenu').FindChildInLayoutFile('PartyChat');
var LobbyChatInput = LobbyChat.FindChildInLayoutFile('ChatInput');
LobbyChatInput.text = "]] ..texts.. [["
LobbyChat.SubmitChatText();
LobbyChatInput.text = ""
]])
end
end)
Menu.GroupBox("[ Invite's ]")
Menu.Button("[ X ] invite all [ X ]", function()
Panorama.LoadString([[
PartyBrowserAPI.Refresh();
var Players = PartyBrowserAPI.GetResultsCount();
for (var i = 0; i < Players; i++) {
FriendsListAPI.ActionInviteFriend(PartyBrowserAPI.GetXuidByIndex(i), "");
}
]])
end)
Menu.Button("[ X ] invite all (collected) [ X ]", function()
Panorama.LoadString([[
collectedSteamIDS.forEach(xuid => {
FriendsListAPI.ActionInviteFriend(xuid, "");
});
]])
refresh_nearbies()
end)
local collect = Menu.Checkbox("Collect invites", false)
local next_update = -1.0
Cheat.RegisterCallback('draw', function ()
if collect:Get() == true then
if next_update < GlobalVars.realtime then
refresh_nearbies()
--print("yes!")
next_update = GlobalVars.realtime + 3
end
end
end)
Menu.GroupBox("[ Window spam ]")
local windowsvalue = Menu.SliderInt(" [ X ] Windows value [ X ]", 100, 0, 500, function()
end)
Menu.Button("[ X ] window spam [ X ]", function()
for i = 1, windowsvalue:Get() do
Panorama.LoadString([[
PartyListAPI.SessionCommand("Game::HostEndGamePlayAgain", `run all xuid ${MyPersonaAPI.GetXuid()}`);
]])
end
end)
Menu.Button("[ X ] close windows [ X ]", function()
Panorama.LoadString([[
UiToolkitAPI.CloseAllVisiblePopups();
]])
end)
Menu.GroupBox("[ Fun ]")
Menu.Button("[ X ] Stop que [ X ]", function()
Panorama.LoadString([[
LobbyAPI.StopMatchmaking();
]])
end)
Menu.Text(" ")
Menu.Button("[VAC] ON", function()
Panorama.LoadString([[
UiToolkitAPI.ShowGenericPopupOkBgStyle('Disconnected', 'VAC banned from secure server.', '', function() {}, 'dim');
MyPersonaAPI.IsVacBanned = function() { return 1 };
LobbyAPI.UpdateSessionSettings = function() {};
]])
end)
Menu.Button("[VAC] OFF", function()
Panorama.LoadString([[
MyPersonaAPI.IsVacBanned = function() { return 0 };
]])
end)
25 Feb 2023 18:13
U make a new txt file on ur pc and u change the name off the file from Name.txt To Name.Lua and paste the code in and put the lua file into scripts folder in memesense location On ur C Drive probaly then just run the script with memesnese in game and enjoy Btw Script Was Made By Maxi1337_
25 Feb 2023 21:46