Advertisement
Guest User

boi

a guest
Feb 24th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----execute this one first-
  2. ---
  3. local antiafk = fals
  4. e
  5. local AntiAFKKickGUI = Instance.new("ScreenGui")
  6. local MainFrame = Instance.new("Frame")
  7. local Button = Instance.new("TextButton")
  8. local Deco = Instance.new("TextLabel")
  9.  
  10. AntiAFKKickGUI.Name = "AntiAFKKickGUI"
  11. AntiAFKKickGUI.Parent = game.CoreGui
  12.  
  13. MainFrame.Name = "MainFrame"
  14. MainFrame.Parent = AntiAFKKickGUI
  15. MainFrame.Active = true
  16. MainFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  17. MainFrame.BorderSizePixel = 0
  18. MainFrame.Draggable = true
  19. MainFrame.Position = UDim2.new(0.25, 0, 0.25, 0)
  20. MainFrame.Size = UDim2.new(0.150000006, 0, 0.100000001, 0)
  21.  
  22. Button.Name = "Button"
  23. Button.Parent = MainFrame
  24. Button.BackgroundColor3 = Color3.new(0, 0, 0)
  25. Button.BorderSizePixel = 0
  26. Button.Position = UDim2.new(0.25, 0, 0.400000006, 0)
  27. Button.Size = UDim2.new(0.5, 0, 0.400000006, 0)
  28. Button.Font = Enum.Font.SourceSans
  29. Button.FontSize = Enum.FontSize.Size14
  30. Button.Text = "OFF"
  31. Button.TextColor3 = Color3.new(1, 0, 0)
  32. Button.TextScaled = true
  33. Button.TextSize = 14
  34. Button.TextWrapped = true
  35.  
  36. Deco.Name = "Deco"
  37. Deco.Parent = MainFrame
  38. Deco.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Deco.BackgroundTransparency = 0.89999997615814
  40. Deco.BorderSizePixel = 0
  41. Deco.Size = UDim2.new(1, 0, 0.300000012, 0)
  42. Deco.Font = Enum.Font.SourceSansBold
  43. Deco.FontSize = Enum.FontSize.Size14
  44. Deco.Text = "AFK"
  45. Deco.TextColor3 = Color3.new(1, 1, 1)
  46. Deco.TextScaled = true
  47. Deco.TextSize = 14
  48. Deco.TextWrapped = true
  49.  
  50. Button.MouseButton1Down:connect(function()
  51. if antiafk == false then
  52. antiafk = true
  53. Button.TextColor3 = Color3.new(0, 1, 0)
  54. Button.Text = "ON"
  55. else
  56. antiafk = false
  57. Button.TextColor3 = Color3.new(1, 0, 0)
  58. Button.Text = "OFF"
  59. end
  60. end)
  61.  
  62. spawn(function()
  63. while true do
  64. wait()
  65. if antiafk == true then
  66. wait(math.random(0.3,1))
  67. local a = math.random(1,5)
  68. if a == 1 then
  69. keypress(0x57)
  70. keyup(0x57)
  71. end
  72. if a == 2 then
  73. keypress(0x53)
  74. end
  75. if a == 3 then
  76. keypress(0x44)
  77. end
  78. if a == 4 then
  79. keypress(0x41)
  80. end
  81. if a == 5 then
  82. keypress(0x20)
  83. end
  84. end
  85. end
  86. end)
  87.  
  88.  
  89.  
  90.  
  91.  
  92. ------Then this one second--------
  93.  
  94. spawn(function()
  95. while true do
  96. wait()
  97. game:GetService("ReplicatedStorage").Remotes.FishingRemote:FireServer()
  98. wait()
  99. game:GetService("ReplicatedStorage").Remotes.FishingRemote:FireServer("success")
  100. end
  101. end)
  102. spawn(function()
  103. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.WORLD.Buildings.FishShop.Halo.Position.Position)
  104. wait(0.2)
  105. game.Players.LocalPlayer.Character.Head.Anchored = true
  106. while true do
  107. wait()
  108. game.ReplicatedStorage.Remotes.ZoneInput:InvokeServer("fishshop")
  109. end
  110. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement