Advertisement
Guest User

MM2 AUTOFARM

a guest
Jun 19th, 2024
2,650
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.55 KB | None | 0 1
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("Mm2 AutoFarm Hydra EX V1", "DarkTheme")
  3. local Tab = Window:NewTab("AutoFarm")
  4. local Section = Tab:NewSection("AutoFarm")
  5.  
  6. Section:NewButton("Coin AutoFarmer", "Teleports You To Coins Every 6 Seconds", function()
  7. local WaitTime = 6
  8. local MaxCoins = 50
  9.  
  10. local function OnNewRound(CoinContainer)
  11. local Character = game.Players.LocalPlayer.Character
  12. local Coins = 0
  13. while Coins < MaxCoins and CoinContainer.Parent do
  14. for i, Coin in pairs (CoinContainer:GetChildren()) do
  15. if Coin.Name == "Coin_Server" then
  16. Character.PrimaryPart.CFrame = CFrame.new(Coin.Position)
  17. wait(WaitTime)
  18. Coins = Coins + 1
  19. end
  20. end
  21. wait()
  22. end
  23. end
  24.  
  25. game.Workspace.DescendantAdded:Connect(function(Instance)
  26. if Instance.Name == "CoinContainer" then
  27. OnNewRound(Instance)
  28. end
  29. end)
  30.  
  31. local CoinContainer = game.Workspace:FindFirstChild("CoinContainer", true)
  32. if CoinContainer then
  33. OnNewRound(CoinContainer)
  34. end
  35. end)
  36.  
  37. local Tab = Window:NewTab("Player")
  38. local Section = Tab:NewSection("Player")
  39.  
  40. Section:NewSlider("WalkSpeed", "Makes You Able To Go Fater", 300, 16, function(s) -- 500 (MaxValue) | 0 (MinValue)
  41. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
  42. end)
  43.  
  44. Section:NewSlider("JumpPower", "Makes You Able To Jump Higher", 500, 50, function(s) -- 500 (MaxValue) | 0 (MinValue)
  45. game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
  46. end)
  47.  
  48.  
  49.  
  50. Section:NewButton("Fly", "E To Toggle", function()
  51. repeat wait()
  52. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  53. local mouse = game.Players.LocalPlayer:GetMouse()
  54. repeat wait() until mouse
  55. local plr = game.Players.LocalPlayer
  56. local torso = plr.Character.HumanoidRootPart
  57. local flying = true
  58. local deb = true
  59. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  60. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  61. local maxspeed = 50
  62. local speed = 0
  63.  
  64. function Fly()
  65. local bg = Instance.new("BodyGyro", torso)
  66. bg.P = 9e4
  67. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  68. bg.cframe = torso.CFrame
  69. local bv = Instance.new("BodyVelocity", torso)
  70. bv.velocity = Vector3.new(0,0.1,0)
  71. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  72. repeat wait()
  73. plr.Character.Humanoid.PlatformStand = true
  74. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  75. speed = speed+.5+(speed/maxspeed)
  76. if speed > maxspeed then
  77. speed = maxspeed
  78. end
  79. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  80. speed = speed-1
  81. if speed < 0 then
  82. speed = 0
  83. end
  84. end
  85. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  86. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  87. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  88. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  89. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  90. else
  91. bv.velocity = Vector3.new(0,0.1,0)
  92. end
  93. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  94. until not flying
  95. ctrl = {f = 0, b = 0, l = 0, r = 0}
  96. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  97. speed = 0
  98. bg:Destroy()
  99. bv:Destroy()
  100. plr.Character.Humanoid.PlatformStand = false
  101. end
  102. mouse.KeyDown:connect(function(key)
  103. if key:lower() == "e" then
  104. if flying then flying = false
  105. else
  106. flying = true
  107. Fly()
  108. end
  109. elseif key:lower() == "w" then
  110. ctrl.f = 1
  111. elseif key:lower() == "s" then
  112. ctrl.b = -1
  113. elseif key:lower() == "a" then
  114. ctrl.l = -1
  115. elseif key:lower() == "d" then
  116. ctrl.r = 1
  117. end
  118. end)
  119. mouse.KeyUp:connect(function(key)
  120. if key:lower() == "w" then
  121. ctrl.f = 0
  122. elseif key:lower() == "s" then
  123. ctrl.b = 0
  124. elseif key:lower() == "a" then
  125. ctrl.l = 0
  126. elseif key:lower() == "d" then
  127. ctrl.r = 0
  128. end
  129. end)
  130. Fly()
  131. end)
  132.  
  133. Section:NewButton("Noclip", "Lets You Go Through Things", function()
  134. local Noclip = nil
  135. local Clip = nil
  136.  
  137. function noclip()
  138. Clip = false
  139. local function Nocl()
  140. if Clip == false and game.Players.LocalPlayer.Character ~= nil then
  141. for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  142. if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
  143. v.CanCollide = false
  144. end
  145. end
  146. end
  147. wait(0.21) -- basic optimization
  148. end
  149. Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
  150. end
  151.  
  152. function clip()
  153. if Noclip then Noclip:Disconnect() end
  154. Clip = true
  155. end
  156.  
  157. noclip() -- to toggle noclip() and clip()
  158. end)
  159.  
  160. local Tab = Window:NewTab("Miscellaneous")
  161. local Section = Tab:NewSection("Miscellaneous")
  162.  
  163. Section:NewButton("InfYield", "Admin Commands", function()
  164. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  165. end)
  166.  
  167. Section:NewButton("Fling Gui", "Prank Em John!", function()
  168. local lp = game:FindService("Players").LocalPlayer
  169.  
  170. local function gplr(String)
  171. local Found = {}
  172. local strl = String:lower()
  173. if strl == "all" then
  174. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  175. table.insert(Found,v)
  176. end
  177. elseif strl == "others" then
  178. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  179. if v.Name ~= lp.Name then
  180. table.insert(Found,v)
  181. end
  182. end
  183. elseif strl == "me" then
  184. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  185. if v.Name == lp.Name then
  186. table.insert(Found,v)
  187. end
  188. end
  189. else
  190. for i,v in pairs(game:FindService("Players"):GetPlayers()) do
  191. if v.Name:lower():sub(1, #String) == String:lower() then
  192. table.insert(Found,v)
  193. end
  194. end
  195. end
  196. return Found
  197. end
  198.  
  199. local function notif(str,dur)
  200. game:FindService("StarterGui"):SetCore("SendNotification", {
  201. Title = "yeet gui",
  202. Text = str,
  203. Icon = "rbxassetid://2005276185",
  204. Duration = dur or 3
  205. })
  206. end
  207.  
  208. --// sds
  209.  
  210. local h = Instance.new("ScreenGui")
  211. local Main = Instance.new("ImageLabel")
  212. local Top = Instance.new("Frame")
  213. local Title = Instance.new("TextLabel")
  214. local TextBox = Instance.new("TextBox")
  215. local TextButton = Instance.new("TextButton")
  216.  
  217. h.Name = "h"
  218. h.Parent = game:GetService("CoreGui")
  219. h.ResetOnSpawn = false
  220.  
  221. Main.Name = "Main"
  222. Main.Parent = h
  223. Main.Active = true
  224. Main.Draggable = true
  225. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. Main.BorderSizePixel = 0
  227. Main.Position = UDim2.new(0.174545452, 0, 0.459574461, 0)
  228. Main.Size = UDim2.new(0, 454, 0, 218)
  229. Main.Image = "rbxassetid://2005276185"
  230.  
  231. Top.Name = "Top"
  232. Top.Parent = Main
  233. Top.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  234. Top.BorderSizePixel = 0
  235. Top.Size = UDim2.new(0, 454, 0, 44)
  236.  
  237. Title.Name = "Title"
  238. Title.Parent = Top
  239. Title.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  240. Title.BorderSizePixel = 0
  241. Title.Position = UDim2.new(0, 0, 0.295454562, 0)
  242. Title.Size = UDim2.new(0, 454, 0, 30)
  243. Title.Font = Enum.Font.SourceSans
  244. Title.Text = "FE Yeet Gui (trollface edition)"
  245. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  246. Title.TextScaled = true
  247. Title.TextSize = 14.000
  248. Title.TextWrapped = true
  249.  
  250. TextBox.Parent = Main
  251. TextBox.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  252. TextBox.BorderSizePixel = 0
  253. TextBox.Position = UDim2.new(0.0704845786, 0, 0.270642221, 0)
  254. TextBox.Size = UDim2.new(0, 388, 0, 62)
  255. TextBox.Font = Enum.Font.SourceSans
  256. TextBox.PlaceholderText = "Who do i destroy(can be shortened)"
  257. TextBox.Text = ""
  258. TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  259. TextBox.TextScaled = true
  260. TextBox.TextSize = 14.000
  261. TextBox.TextWrapped = true
  262.  
  263. TextButton.Parent = Main
  264. TextButton.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  265. TextButton.BorderSizePixel = 0
  266. TextButton.Position = UDim2.new(0.10352423, 0, 0.596330225, 0)
  267. TextButton.Size = UDim2.new(0, 359, 0, 50)
  268. TextButton.Font = Enum.Font.SourceSans
  269. TextButton.Text = "Cheese em'"
  270. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  271. TextButton.TextScaled = true
  272. TextButton.TextSize = 14.000
  273. TextButton.TextWrapped = true
  274.  
  275. TextButton.MouseButton1Click:Connect(function()
  276. local Target = gplr(TextBox.Text)
  277. if Target[1] then
  278. Target = Target[1]
  279.  
  280. local Thrust = Instance.new('BodyThrust', lp.Character.HumanoidRootPart)
  281. Thrust.Force = Vector3.new(9999,9999,9999)
  282. Thrust.Name = "YeetForce"
  283. repeat
  284. lp.Character.HumanoidRootPart.CFrame = Target.Character.HumanoidRootPart.CFrame
  285. Thrust.Location = Target.Character.HumanoidRootPart.Position
  286. game:FindService("RunService").Heartbeat:wait()
  287. until not Target.Character:FindFirstChild("Head")
  288. else
  289. notif("Invalid player")
  290. end
  291. end)
  292.  
  293. --//fsddfsdf
  294. notif("Loaded successfully! Created by scuba#0001", 5)
  295. end)
  296.  
  297. Section:NewButton("Synapse X Gui", "Synapse x", function()
  298. loadstring(game:HttpGet("https://raw.githubusercontent.com/AZYsGithub/Chillz-s-scripts/main/Synapse-X-Remake.lua"))()
  299. end)
  300.  
  301. local Tab = Window:NewTab("Credits")
  302. local Section = Tab:NewSection("Credits")
  303. Section:NewLabel("Credits To Mclovinit184, My User. Enjoy This Script!")
  304.  
  305.  
  306. if game.PlaceId == 142823291 then
  307. Script()
  308. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement