Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.5)
- local ba = Instance.new("ScreenGui")
- local ca = Instance.new("TextLabel")
- local da = Instance.new("Frame")
- local _b = Instance.new("TextLabel")
- local ab = Instance.new("TextLabel")
- ba.Parent = game.CoreGui
- ba.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ca.Parent = ba
- ca.Active = true
- ca.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- ca.Draggable = true
- ca.Position = UDim2.new(0.5, 0, 0.3, 0)
- ca.Size = UDim2.new(0, 200, 0, 30)
- ca.Font = Enum.Font.SourceSansSemibold
- ca.Text = "掛機必備神器"
- ca.TextSize = 16
- da.Parent = ca
- da.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- da.Position = UDim2.new(0, 0, 0.9, 0)
- da.Size = UDim2.new(0, 200, 0, 65)
- _b.Parent = da
- _b.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- _b.Position = UDim2.new(0, 0, 0.6, 0)
- _b.Size = UDim2.new(0, 200, 0, 25)
- _b.Font = Enum.Font.Arial
- _b.Text = "感謝不知道的作者"
- _b.TextSize = 15
- ab.Parent = da
- ab.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- ab.Position = UDim2.new(0, 0, 0.1, 0)
- ab.Size = UDim2.new(0, 200, 0, 25)
- ab.Font = Enum.Font.ArialBold
- ab.Text = "Anti AFK:Start"
- ab.TextSize = 14
- local bb = game:GetService("VirtualUser")
- game.Players.LocalPlayer.Idled:Connect(function()
- bb:CaptureController()
- bb:ClickButton2(Vector2.new())
- ab.Text = "開源的感謝不知名的作者~~"
- wait(2)
- ab.Text = "狀態:啟用"
- end)
- -- 彩色字體效果
- while true do
- local time = tick() * 3 -- 控制速度
- local R = math.sin(time) * 127 + 128
- local G = math.sin(time + 2) * 127 + 128
- local B = math.sin(time + 4) * 127 + 128
- ca.TextColor3 = Color3.fromRGB(R, G, B)
- _b.TextColor3 = Color3.fromRGB(R, G, B)
- ab.TextColor3 = Color3.fromRGB(R, G, B)
- wait(0.1) -- 控制刷新率
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement