Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task.wait(.5)
- local Name = game:GetService("Players").LocalPlayer.Name
- local lplr = game:GetService("Players").LocalPlayer
- local anticheatnames = {}
- lplr.DescendantAdded:Connect(function(possibly_an_anti_cheat)
- if possibly_an_anti_cheat:IsA("LocalScript") and possibly_an_anti_cheat ~= script then
- possibly_an_anti_cheat.Disabled = true
- possibly_an_anti_cheat:Destroy()
- table.insert(anticheatnames,possibly_an_anti_cheat.Name)
- end
- end)
- for _, v in pairs(lplr:GetDescendants()) do
- if v:IsA("LocalScript") and v ~= script then
- v.Disabled = true
- v:Destroy()
- table.insert(anticheatnames,v.Name)
- end
- end
- local msgs = "There were no anti cheats detected (Hopefully)!"
- if #anticheatnames ~= 0 then
- msgs = "Possible anti cheats that got deleted were: "
- for _, v in pairs(anticheatnames) do
- msgs = msgs..v..", "
- end
- msgs = msgs.." and possibly nothing else."
- end
- local anticheatmsg = Instance.new("Message",workspace)
- coroutine.resume(coroutine.create(function()
- for i = 1,#msgs do
- anticheatmsg.Text = string.sub(msgs,0,i)
- task.wait()
- end
- task.wait(1.5)
- for i = 1,#msgs do
- anticheatmsg.Text = string.sub(msgs,0,#msgs-i)
- task.wait()
- end
- task.wait(.1)
- anticheatmsg:Destroy()
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement