R

auto report main

public
rrixh Feb 06, 2024 Never 77
Clone
Plaintext autoreport.main_lulaslollipop 153 lines (145 loc) | 5.23 KB
1
repeat task.wait() until game:IsLoaded()
2
3
words = {
4
['gay'] = 'Bullying',
5
['lesbian'] = 'Bullying',
6
['retard'] = 'Bullying',
7
['noob'] = 'Bullying',
8
['clown'] = 'Bullying',
9
['get a life'] = 'Bullying',
10
['getalife'] = 'Bullying',
11
['no life'] = 'Bullying',
12
['nolife'] = 'Bullying',
13
['wizard'] = 'Bullying',
14
['report'] = 'Bullying',
15
['father'] = 'Bullying',
16
['mother'] = 'Bullying',
17
['dumb'] = 'Bullying',
18
['stupid'] = 'Bullying',
19
['cringe'] = 'Bullying',
20
['skill issue'] = 'Bullying',
21
['parent'] = 'Bullying',
22
['kid'] = 'Bullying',
23
['ugly'] = 'Bullying',
24
['child'] = 'Bullying',
25
['trash'] = 'Bullying',
26
['bozo'] = 'Bullying',
27
['kys'] = 'Bullying',
28
['die'] = 'Bullying',
29
['killyou'] = 'Bullying',
30
['loser'] = 'Bullying',
31
['black'] = 'Bullying',
32
[' white '] = 'Bullying',
33
['ez l'] = 'Bullying',
34
['l ez'] = 'Bullying',
35
['negro'] = 'Bullying',
36
['nivver'] = 'Bullying',
37
['negar'] = 'Bullying',
38
['bad'] = 'Bullying',
39
['worst'] = 'Bullying',
40
['fat'] = 'Bullying',
41
['hack'] = 'Scamming',
42
['exploit'] = 'Scamming',
43
['cheat'] = 'Scamming',
44
['download'] = 'Offsite Links',
45
['youtube'] = 'Offsite Links',
46
['dizzy'] = 'Offsite Links',
47
['trans'] = 'Bullying',
48
['lesbian'] = 'Bullying',
49
['lgbt'] = 'Bullying'
50
}
51
52
if not game:GetService('ReplicatedStorage'):FindFirstChild('DefaultChatSystemChatEvents') or not game:GetService('ReplicatedStorage'):FindFirstChild('DefaultChatSystemChatEvents'):FindFirstChild('OnMessageDoneFiltering') then return end
53
DCSCE = game:GetService('ReplicatedStorage'):FindFirstChild('DefaultChatSystemChatEvents')
54
if not autoreportcfg then
55
getgenv().autoreportcfg = {
56
Webhook = '',
57
autoMessage = {
58
enabled = true,
59
Message = 'so sad you got autoreported :(',
60
},
61
}
62
end
63
64
local players = game:GetService("Players")
65
local notifs = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
66
67
function notify(title, text)
68
notifs:MakeNotification({
69
Name = title,
70
Content = text,
71
Time = 5
72
});
73
end;
74
75
76
if syn then
77
notify("Autoreport",'this DOESNT WORK ON SYNAPSE!')
78
notify('Autoreport','3ds disabled ReportAbuse so yea')
79
return
80
end
81
82
function handler(msg,speaker)
83
for i,v in next, words do
84
if string.match(string.lower(msg),i) then
85
players:ReportAbuse(players[speaker],v,'He is breaking roblox TOS')
86
task.wait(1.5)
87
players:ReportAbuse(players[speaker],v,'He is breaking roblox TOS')
88
if autoreportcfg.Webhook ~= nil and autoreportcfg.Webhook ~= '' and autoreportcfg.Webhook ~= ' ' then
89
local data =
90
{
91
["embeds"] = {{
92
["title"] = "**" .. game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name .. "**",
93
["description"] = "Auto-reported a player",
94
["type"] = "rich",
95
["color"] = tonumber(0x00aff4),
96
["url"] = "https://www.roblox.com/games/" .. game.PlaceId,
97
["fields"] = {
98
{
99
["name"] = "Name",
100
["value"] = "[" .. players[speaker].Name .. "](https://www.roblox.com/users/" .. players[speaker].UserId .. ")",
101
["inline"] = true
102
},
103
{
104
["name"] = "Message",
105
["value"] = msg,
106
["inline"] = true
107
},
108
{
109
["name"] = "Offensive Part",
110
["value"] = i,
111
["inline"] = true
112
},
113
{
114
["name"] = "Reported For",
115
["value"] = v,
116
["inline"] = true
117
},
118
},
119
["footer"] = {
120
["text"] = "\nIf you think this is a mistake: stfu"
121
},
122
["author"] = {
123
["name"] = "Auto Report"
124
}
125
}}
126
}
127
local newdata = (game:GetService("HttpService")):JSONEncode(data);
128
local request = http_request or request or HttpPost or http.request or syn.request;
129
local abcdef = {
130
Url = autoreportcfg.Webhook,
131
Body = newdata,
132
Method = "POST",
133
Headers = {
134
["content-type"] = "application/json"
135
}
136
};
137
request(abcdef);
138
else
139
notify('Autoreport','Autoreported ' .. speaker .. ' | offensive part: ' .. i)
140
end
141
if DCSCE:FindFirstChild('SayMessageRequest') and autoreportcfg.autoMessage.enabled == true then
142
DCSCE.SayMessageRequest:FireServer('/w ' .. speaker .. ' ' .. autoreportcfg.autoMessage.Message,'All')
143
end
144
end
145
end
146
end
147
148
msg = DCSCE:FindFirstChild('OnMessageDoneFiltering')
149
msg.OnClientEvent:Connect(function(msgdata)
150
if tostring(msgdata.FromSpeaker) ~= players.LocalPlayer.Name then
151
handler(tostring(msgdata.Message),tostring(msgdata.FromSpeaker))
152
end
153
end)