Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Anti AFK script suitable for putting in autoexec.
- -- This script create by MaxproGlitcher#6199
- local function ShowNotification(title, text, icon, duration)
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Anti Afk en cour..",
- Text = "Ton jeux seras jamais déconnecter",
- Icon = "rbxassetid://14485814558",
- Duration = 15
- })
- end
- local function NotificationCoroutine()
- while true do
- ShowNotification("Refresh", "Le script a été exécuté", "rbxassetid://14485814558", 15)
- wait(15)
- end
- end
- -- Créer une coroutine
- local coroutineHandle = coroutine.create(NotificationCoroutine)
- -- Lancer la coroutine
- coroutine.resume(coroutineHandle)
- print ("Le code est en cour exercution")
- while not game:IsLoaded() do wait() end
- repeat wait() until game.Players.LocalPlayer.Character
- Players = game:GetService("Players")
- local GC = getconnections or get_signal_cons
- if GC then
- for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
- if v["Disable"] then v["Disable"](v)
- elseif v["Disconnect"] then v["Disconnect"](v)
- end
- end
- else
- Players.LocalPlayer.Idled:Connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- end
- print ("Le Code Anti-Afk a été exercuter et votre jeux ne seras jamais déconnecter.. ")
- print ("Merci utiliser le script Anti-Afk by MaxproGlitcher")
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = " ANTI-AFK EXERCUTER",
- Text = "Laisser le jeux rouler",
- Icon = "rbxassetid://14542857685",
- Duration = 15
- })
- warn ("Si vous rencontrez des problème avec mon script aller m'écricre en privé sur Discord: maxproglitcher ")
- game.StarterGui:SetCore('SendNotification', { Title = 'Anti-AFK'; Text = 'Script create by MaxproGlitcher#6199 Anti-AFK activated'; })
- game.StarterGui:SetCore('SendNotification', { Title = 'Anti-AFK'; Text = 'Version 1.4'; })
Advertisement
Add Comment
Please, Sign In to add comment