Advertisement
Tacidus

Tactical GUI

Jun 6th, 2021
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.86 KB | None | 0 0
  1. wait(0.5)
  2.  
  3. local main = Instance.new("ScreenGui")
  4. local backmain = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local antiafk = Instance.new("TextLabel")
  7. local antiafkb = Instance.new("TextButton")
  8.  
  9. main.Parent=game.CoreGui
  10. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. backmain.Parent = main
  13. backmain.Active = true
  14. backmain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  15. backmain.Draggable = true
  16. backmain.Position = UDim2.new(0.015, 0,0.022, 0)
  17. backmain.Size = UDim2.new(0.227, 0,0.662, 0)
  18.  
  19. title.Parent = backmain
  20. title.Active = true
  21. title.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  22. title.Position = UDim2.new(-0.023, 0,-0.002, 0)
  23. title.Size = UDim2.new(1.045, 0,0.077, 0)
  24. title.Font = Enum.Font.SourceSansBold
  25. title.Text = "Tactical GUI"
  26. title.TextColor3 = Color3.new(0.780392, 0.215686, 1)
  27. title.TextScaled = true
  28.  
  29. antiafk.Parent = backmain
  30. antiafk.Active = true
  31. antiafk.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  32. antiafk.Position = UDim2.new(0.026, 0,0.1, 0)
  33. antiafk.Size = UDim2.new(0.741, 0,0.057, 0)
  34. antiafk.Font = Enum.Font.SourceSansBold
  35. antiafk.Text = "Anti-AFK"
  36. antiafk.TextColor3 = Color3.new(0.780392, 0.215686, 1)
  37. antiafk.TextScaled = true
  38.  
  39. antiafkb.Parent = backmain
  40. antiafkb.Active = true
  41. antiafkb.BackgroundColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  42. antiafkb.Position = UDim2.new(0.821, 0,0.1, 0)
  43. antiafkb.Size = UDim2.new(0.1, 0,0.057, 0)
  44. antiafkb.Font = Enum.Font.SourceSansBold
  45. antiafkb.Text = " "
  46. antiafkb.TextColor3 = Color3.new(0.780392, 0.215686, 1)
  47. antiafkb.TextScaled = true
  48.  
  49. antiafkb.MouseButton1Click:Connect(function()
  50. antiafkb.BackgroundColor3 = Color3.new(0.780392, 0.215686, 1)
  51. local bb = game:service'VirtualUser'
  52. game:service'Players'.LocalPlayer.Idled:connect(function()
  53. bb:CaptureController()bb:ClickButton2(Vector2.new())
  54. end)
  55. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement