1 | |
2 | |
3 | local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wizard"))() |
4 | |
5 | local player = game.Players.LocalPlayer |
6 | local ReplicatedStorage = game.ReplicatedStorage |
7 | local TextChatService = game:GetService("TextChatService") |
8 | local chatDelay = 0 |
9 | |
10 | local useNewChatSystem = TextChatService and TextChatService:FindFirstChild("TextChannels") |
11 | |
12 | local TextChannel = nil |
13 | if useNewChatSystem then |
14 | TextChannel = TextChatService:FindFirstChild("TextChannels"):WaitForChild("RBXGeneral") |
15 | end |
16 | |
17 | local Window = Library:NewWindow("Window") |
18 | local Section = Window:NewSection("Chat Buttons") |
19 | |
20 | Section:CreateTextbox("Chat Delay (seconds)", function(text) |
21 | local delay = tonumber(text) |
22 | if delay then |
23 | chatDelay = delay |
24 | end |
25 | end) |
26 | |
27 | local function sendChatMessage(message, count) |
28 | for i = 1, count do |
29 | if useNewChatSystem and TextChannel then |
30 | TextChannel:SendAsync(message) |
31 | else |
32 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All") |
33 | end |
34 | wait(chatDelay) |
35 | end |
36 | end |
37 | |
38 | Section:CreateButton("EZ", function() |
39 | sendChatMessage("EZ", 3) |
40 | end) |
41 | |
42 | Section:CreateButton("BASURA", function() |
43 | sendChatMessage("BASURA", 1) |
44 | sendChatMessage("BASURAA", 1) |
45 | end) |
46 | |
47 | Section:CreateButton("LOL", function() |
48 | sendChatMessage("LOL", 1) |
49 | end) |
50 | |
51 | Section:CreateButton("MALDHITO BOTT", function() |
52 | sendChatMessage("MALDHITO BOTT", 1) |
53 | sendChatMessage("LOLL", 1) |
54 | end) |
55 | |
56 | Section:CreateButton("GET BETTER LOL", function() |
57 | sendChatMessage("GET BETTER LOL", 1) |
58 | end) |
59 | |
60 | Section:CreateButton("LOWER", function() |
61 | sendChatMessage("LOWER", 1) |
62 | end) |
63 | |
64 | game.StarterGui:SetCore("SendNotification", { |
65 | Title = "Credits: Vxpreen", |
66 | Text = "soulreavers._13 on discord", |
67 | Duration = 8 |
68 | }) |