Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.5)
- local main = Instance.new("ScreenGui")
- local backmain = Instance.new("Frame")
- local title = Instance.new("TextLabel")
- local antiafk = Instance.new("TextLabel")
- local antiafkb = Instance.new("TextButton")
- main.Parent=game.CoreGui
- main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- backmain.Parent = main
- backmain.Active = true
- backmain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
- backmain.Draggable = true
- backmain.Position = UDim2.new(0.015, 0,0.022, 0)
- backmain.Size = UDim2.new(0.227, 0,0.662, 0)
- title.Parent = backmain
- title.Active = true
- title.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
- title.Position = UDim2.new(-0.023, 0,-0.002, 0)
- title.Size = UDim2.new(1.045, 0,0.077, 0)
- title.Font = Enum.Font.SourceSansBold
- title.Text = "Tactical GUI"
- title.TextColor3 = Color3.new(0.780392, 0.215686, 1)
- title.TextScaled = true
- antiafk.Parent = backmain
- antiafk.Active = true
- antiafk.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
- antiafk.Position = UDim2.new(0.026, 0,0.1, 0)
- antiafk.Size = UDim2.new(0.741, 0,0.057, 0)
- antiafk.Font = Enum.Font.SourceSansBold
- antiafk.Text = "Anti-AFK"
- antiafk.TextColor3 = Color3.new(0.780392, 0.215686, 1)
- antiafk.TextScaled = true
- antiafkb.Parent = backmain
- antiafkb.Active = true
- antiafkb.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
- antiafkb.Position = UDim2.new(0.821, 0,0.1, 0)
- antiafkb.Size = UDim2.new(0.1, 0,0.057, 0)
- antiafkb.Font = Enum.Font.SourceSansBold
- antiafkb.Text = " "
- antiafkb.TextColor3 = Color3.new(0.780392, 0.215686, 1)
- antiafkb.TextScaled = true
- antiafkb.MouseButton1Click:Connect(function()
- antiafkb.BackgroundColor3 = Color3.new(0.780392, 0.215686, 1)
- local bb = game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- bb:CaptureController()bb:ClickButton2(Vector2.new())
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement