NeonNarnia

Autofarm script

Aug 17th, 2019
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. local Abilitys = Instance.new("ScreenGui")
  2. local Top = Instance.new("Frame")
  3. local Main = Instance.new("Frame")
  4. local Agility = Instance.new("TextButton")
  5. local Endurance = Instance.new("TextButton")
  6. local PsychicForce = Instance.new("TextButton")
  7. local PunchPower = Instance.new("TextButton")
  8. local Swiftness = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local AgilityUpdate = false
  11. local SwiftnessUpdate = false
  12. local PunchPowerUpdate = false
  13. local EnduranceUpdate = false
  14. local PsychicForceUpdate = false
  15.  
  16. Abilitys.Name = "Ability's"
  17. Abilitys.Parent = game.CoreGui
  18. Abilitys.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. Top.Name = "Top"
  21. Top.Parent = Abilitys
  22. Top.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0823529)
  23. Top.Position = UDim2.new(0.179397538, 0, 0.713656962, 0)
  24. Top.Size = UDim2.new(0, 533, 0, 21)
  25. Top.Selectable = true
  26. Top.Active = true
  27. Top.Draggable = true
  28.  
  29. Main.Name = "Main"
  30. Main.Parent = Top
  31. Main.BackgroundColor3 = Color3.new(0.117647, 0.121569, 0.12549)
  32. Main.Position = UDim2.new(-0.000822314178, 0, 0.959316492, 0)
  33. Main.Size = UDim2.new(0, 533, 0, 48)
  34.  
  35. Agility.Name = "Agility"
  36. Agility.Parent = Main
  37. Agility.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.462745)
  38. Agility.BorderSizePixel = 0
  39. Agility.Position = UDim2.new(0.0272310376, 0, 0.133026421, 0)
  40. Agility.Size = UDim2.new(0, 98, 0, 32)
  41. Agility.Selected = true
  42. Agility.Font = Enum.Font.GothamSemibold
  43. Agility.Text = "Agility"
  44. Agility.TextColor3 = Color3.new(1, 1, 1)
  45. Agility.TextSize = 14
  46. Agility.MouseButton1Click:connect(function()
  47. if AgilityUpdate == false then
  48. AgilityUpdate = true
  49. else
  50. AgilityUpdate = false
  51. end
  52. end)
  53.  
  54. Endurance.Name = "Endurance"
  55. Endurance.Parent = Main
  56. Endurance.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.462745)
  57. Endurance.BorderSizePixel = 0
  58. Endurance.Position = UDim2.new(0.210555241, 0, 0.133026421, 0)
  59. Endurance.Size = UDim2.new(0, 98, 0, 32)
  60. Endurance.Font = Enum.Font.GothamSemibold
  61. Endurance.Text = "Endurance"
  62. Endurance.TextColor3 = Color3.new(1, 1, 1)
  63. Endurance.TextSize = 14
  64. Endurance.MouseButton1Click:connect(function()
  65. if EnduranceUpdate == false then
  66. EnduranceUpdate = true
  67. else
  68. EnduranceUpdate = false
  69. end
  70. end)
  71.  
  72. PsychicForce.Name = "PsychicForce"
  73. PsychicForce.Parent = Main
  74. PsychicForce.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.462745)
  75. PsychicForce.BorderSizePixel = 0
  76. PsychicForce.Position = UDim2.new(0.3936252, 0, 0.133026302, 0)
  77. PsychicForce.Size = UDim2.new(0, 98, 0, 32)
  78. PsychicForce.Font = Enum.Font.GothamSemibold
  79. PsychicForce.Text = "PsychicForce"
  80. PsychicForce.TextColor3 = Color3.new(1, 1, 1)
  81. PsychicForce.TextSize = 14
  82. PsychicForce.MouseButton1Click:connect(function()
  83. if PsychicForceUpdate == false then
  84. PsychicForceUpdate = true
  85. else
  86. PsychicForceUpdate = false
  87. end
  88. end)
  89.  
  90. PunchPower.Name = "PunchPower"
  91. PunchPower.Parent = Main
  92. PunchPower.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.462745)
  93. PunchPower.BorderSizePixel = 0
  94. PunchPower.Position = UDim2.new(0.575868368, 0, 0.133026421, 0)
  95. PunchPower.Size = UDim2.new(0, 98, 0, 32)
  96. PunchPower.Font = Enum.Font.GothamSemibold
  97. PunchPower.Text = "PunchPower"
  98. PunchPower.TextColor3 = Color3.new(1, 1, 1)
  99. PunchPower.TextSize = 14
  100. PunchPower.MouseButton1Click:connect(function()
  101. if PunchPowerUpdate == false then
  102. PunchPowerUpdate = true
  103. else
  104. PunchPowerUpdate = false
  105. end
  106. end)
  107.  
  108. Swiftness.Name = "Swiftness"
  109. Swiftness.Parent = Main
  110. Swiftness.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.462745)
  111. Swiftness.BorderSizePixel = 0
  112. Swiftness.Position = UDim2.new(0.759192705, 0, 0.133026421, 0)
  113. Swiftness.Size = UDim2.new(0, 114, 0, 32)
  114. Swiftness.Font = Enum.Font.GothamSemibold
  115. Swiftness.Text = "Swiftness"
  116. Swiftness.TextColor3 = Color3.new(1, 1, 1)
  117. Swiftness.TextSize = 14
  118. Swiftness.MouseButton1Click:connect(function()
  119. if SwiftnessUpdate == false then
  120. SwiftnessUpdate = true
  121. else
  122. SwiftnessUpdate = false
  123. end
  124. end)
  125.  
  126. TextLabel.Parent = Top
  127. TextLabel.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0823529)
  128. TextLabel.BackgroundTransparency = 1
  129. TextLabel.Position = UDim2.new(0.388367712, 0, 0, 0)
  130. TextLabel.Selectable = true
  131. TextLabel.Size = UDim2.new(0, 152, 0, 21)
  132. TextLabel.Font = Enum.Font.GothamSemibold
  133. TextLabel.Text = "Ability's"
  134. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  135. TextLabel.TextSize = 14
  136.  
  137. game:GetService"RunService".RenderStepped:Connect(function()
  138. if AgilityUpdate == true then
  139. game:GetService"ReplicatedStorage".IncreaseAbilities:FireServer("Agility")
  140. end
  141. if SwiftnessUpdate == true then
  142. game:GetService"ReplicatedStorage".IncreaseAbilities:FireServer("Swiftness")
  143. end
  144. if PunchPowerUpdate == true then
  145. game:GetService"ReplicatedStorage".IncreaseAbilities:FireServer("PunchPower")
  146. end
  147. if EnduranceUpdate == true then
  148. game:GetService"ReplicatedStorage".IncreaseAbilities:FireServer("Endurance")
  149. end
  150. if PsychicForceUpdate == true then
  151. game:GetService"ReplicatedStorage".IncreaseAbilities:FireServer("PsychicForce")
  152. end
  153. end)
Add Comment
Please, Sign In to add comment