Advertisement
brianops1

Character

Feb 20th, 2020
1,957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.34 KB | None | 0 0
  1. --Game: https://www.roblox.com/games/4483320925/Character-Chaos
  2.  
  3.  
  4. if game:GetService("CoreGui"):FindFirstChild("FinityUI") then
  5.     game.CoreGui.FinityUI:Destroy()
  6. end
  7. local desc = [[
  8. Automob will find the closest mob and go so ye
  9. ]]
  10. local plr = game.Players.LocalPlayer
  11. local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua"))()
  12. local FinityWindow = Finity.new(true)
  13. FinityWindow.ChangeToggleKey(Enum.KeyCode.Semicolon)
  14. local CreditsCategory = FinityWindow:Category("Credits/Info")
  15. local CreditsCreator = CreditsCategory:Sector("Finity Library Creator:")
  16. local ScriptCredit = CreditsCategory:Sector("Cheat Credit:")
  17. local Description = CreditsCategory:Sector("Description:")
  18. CreditsCreator:Cheat("Label", "detourious @ v3rmillion.net")
  19. ScriptCredit:Cheat("Label", "brianops16 @ v3rmillion.net")
  20. ScriptCredit:Cheat("Label", "Megumu @ v3rmillion.net")
  21. Description:Cheat("Label", desc)
  22. local Cheats = FinityWindow:Category("Cheats")
  23. local S1 = Cheats:Sector("Main Cheats")
  24. local auto = Instance.new("Part")
  25. auto.Name = "Auto"
  26. auto.Parent = game.Players.LocalPlayer
  27.  
  28. function walkto(loc,prt)
  29.     local hum = plr.Character:FindFirstChild("Humanoid")
  30.     if hum then
  31.         local con
  32.         con = hum.MoveToFinished:Connect(function(fin)
  33.             pcall(function()
  34.                 con = nil
  35.             end)
  36.         end)
  37.         hum:MoveTo(loc,prt)
  38.         iter = 0
  39.         repeat
  40.             wait(.1)
  41.             iter = iter + 1
  42.             if iter % 5 == 0 then
  43.                 pcall(function() syn_keypress(0x20) wait() syn_keyrelease(0x20) end)
  44.                 pcall(function() Input.KeyDown(0x20) wait() Input.KeyUp(0x20) end)
  45.             end
  46.         until not con or iter >= 5 or _G.on ~= 1
  47.         if con then
  48.             pcall(function()
  49.                 con = nil
  50.             end)
  51.         end
  52.         wait(.5)
  53.     end
  54. end
  55.  
  56. function find()
  57.     local lowest = 1e999
  58.     local enemy = nil
  59.     local root = plr.Character:FindFirstChild("HumanoidRootPart")
  60.     if root then
  61.         for i,v in pairs(game:GetService("Workspace")["Monsters"]:GetChildren()) do
  62.             if v then
  63.                 local p = v:FindFirstChildOfClass("Part")
  64.                 if p and (p.Position - root.Position).Magnitude < lowest then
  65.                     lowest = (p.Position - root.Position).Magnitude
  66.                     enemy = p
  67.                 end
  68.             end
  69.         end
  70.     end
  71.     return enemy
  72. end
  73.  
  74. S1:Cheat("Checkbox","AutoFindMob",
  75. function(State)
  76.     if not State then
  77.         _G.on = 0
  78.     else
  79.         _G.on = 1
  80.         while _G.on == 1 do
  81.             wait()
  82.             local MobPart
  83.             pcall(function()
  84.                 while not game:GetService("Workspace")["Misc"]:FindFirstChild(plr.Name) and _G.on == 1 do
  85.                     MobPart = find()
  86.                     if MobPart then
  87.                         walkto(MobPart.Position,MobPart)
  88.                     end
  89.                     wait()
  90.                 end
  91.             end)
  92.         end
  93.     end
  94. end
  95. )
  96. local store = game.ReplicatedStorage
  97. S1:Cheat("Checkbox","AutoCollectLoot",
  98. function(State)
  99.     if not State then
  100.         _G.on1 = 0
  101.     else
  102.         _G.on1 = 1
  103.         while _G.on1 == 1 do
  104.             wait()
  105.             if game:GetService("Workspace")["Misc"]:FindFirstChild(plr.Name) then
  106.                 for i,v in pairs(game:GetService("Workspace")["Misc"][plr.Name]:GetChildren()) do
  107.                     if v.Name == "Coin" or v.Name == "Gem" then
  108.                         store.CollectCoin:FireServer(v)
  109.                     end
  110.                 end
  111.             end
  112.         end
  113.     end
  114. end
  115. )
  116. S1:Cheat("Checkbox","SummoningMenuOpen",
  117. function(State)
  118.     if not State then
  119.         _G.on2 = 0
  120.     else
  121.         _G.on2 = 1
  122.         while _G.on2 == 1 do
  123.             wait()
  124.             if not plr["PlayerGui"]["MonsterInventory"]["Summoning"].Visible then
  125.                 plr["PlayerGui"]["MonsterInventory"]["Summoning"].Visible = true
  126.             end
  127.         end
  128.     end
  129. end
  130. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement