Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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")
- warn ("Si vous rencontrez des problème avec mon script aller m'écricre en privé sur Discord: maxproglitcher")
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Script Anti-Afk",
- Text = "Script a été executer",
- Icon = "rbxassetid://14542857685",
- Duration = 15
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Version 1.1",
- Text = "Anti-Afk",
- Icon = "rbxassetid://14542857685",
- Duration = 15
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Script exercuter dans 5sec",
- Text = "Script a été executer",
- Icon = "rbxassetid://14542857685",
- Duration = 6
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Dans 5 sec",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 3
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Dans 4 sec",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 3
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Dans 3 sec",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 3
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Dans 2 sec",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 2
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Dans 1 sec",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 2
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Laisser votre jeux rouler",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 2
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Rouler",
- Text = "MaxproGlitcher",
- Icon = "rbxassetid://14542857685",
- Duration = 2
- })
- local m = Instance.new("Message", game.CoreGui)
- m.Text = "Script ANTI-AFK By MaxproGlitcher a été exercuter laisser votre jeux rouler et il seras jamais déconnecter!!!"
- wait(5)
- m:Destroy()
- local Player = game:GetService("Players").LocalPlayer
- local Character = Player.Character or Player.CharacterAdded:Wait()
- while true do
- Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
- wait(0.2)
- Character.Humanoid:ChangeState(Enum.HumanoidStateType.Landed)
- wait(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement