Skip to content

Instantly share code, notes, and snippets.

@DuyNgao2306
Created May 1, 2026 20:10
Show Gist options
  • Select an option

  • Save DuyNgao2306/65bf2e09b5e5ba5f646c9b529fb23fc6 to your computer and use it in GitHub Desktop.

Select an option

Save DuyNgao2306/65bf2e09b5e5ba5f646c9b529fb23fc6 to your computer and use it in GitHub Desktop.
--================ CORE =================--
local Services = {
Players = game:GetService("Players"),
RunService = game:GetService("RunService"),
Stats = game:GetService("Stats"),
UIS = game:GetService("UserInputService"),
TweenService = game:GetService("TweenService"),
VirtualUser = game:GetService("VirtualUser"),
TeleportService = game:GetService("TeleportService")
}
local player = Services.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
if not game:IsLoaded() then game.Loaded:Wait() end
--================ LINK SCRIPT MAIN =================--
local MAIN_SCRIPT_URL = "https://pastefy.app/2ANlBSkF/raw"
--================ LOADING =================--
local loadingGui = Instance.new("ScreenGui", playerGui)
loadingGui.IgnoreGuiInset = true
loadingGui.ResetOnSpawn = false
local loadingFrame = Instance.new("Frame", loadingGui)
loadingFrame.Size = UDim2.new(1,0,1,0)
loadingFrame.BackgroundColor3 = Color3.fromRGB(10,10,15)
local title = Instance.new("TextLabel", loadingFrame)
title.Size = UDim2.new(1,0,0.4,0)
title.Position = UDim2.new(0,0,0.3,0)
title.BackgroundTransparency = 1
title.Text = "SCRIPT LOADING..."
title.Font = Enum.Font.GothamBlack
title.TextScaled = true
title.TextColor3 = Color3.fromRGB(0,255,170)
local author = Instance.new("TextLabel", loadingFrame)
author.Size = UDim2.new(1,0,0.2,0)
author.Position = UDim2.new(0,0,0.7,0)
author.BackgroundTransparency = 1
author.Text = "By: Crow"
author.Font = Enum.Font.GothamBold
author.TextScaled = true
author.TextColor3 = Color3.fromRGB(180,180,180)
for i = 1,3 do
title.Text = "SCRIPT LOADING" .. string.rep(".", i)
task.wait(0.4)
end
task.wait(1)
for i = 1,10 do
loadingFrame.BackgroundTransparency += 0.1
title.TextTransparency += 0.1
author.TextTransparency += 0.1
task.wait(0.05)
end
loadingGui:Destroy()
--================ LOAD SCRIPT MAIN =================--
task.spawn(function()
task.wait(1)
loadstring(game:HttpGet(MAIN_SCRIPT_URL))()
end)
--================ ANTI AFK =================--
player.Idled:Connect(function()
Services.VirtualUser:CaptureController()
Services.VirtualUser:ClickButton2(Vector2.new())
end)
--================ AUTO REJOIN =================--
if queue_on_teleport then
queue_on_teleport('task.wait(2); loadstring(game:HttpGet("'..MAIN_SCRIPT_URL..'"))()')
end
local rejoining = false
game:GetService("CoreGui").RobloxPromptGui.promptOverlay.ChildAdded:Connect(function(child)
if child.Name == "ErrorPrompt" and not rejoining then
rejoining = true
task.wait(2)
Services.TeleportService:Teleport(game.PlaceId, player)
end
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment