Advertisement
roblox_exploit

infinityrpg2 (2nd dimension)

Oct 30th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. _G.ok = true
  2. _G.armor = "Solaris" --Armor for your level ex: "Lord", "Adventurer"
  3. _G.weapon = "The Piece Maker" --the weapon you want use
  4. --reav--
  5. local player = game.Players.LocalPlayer
  6. local playerlevel = player.PlayerGui.GameUI.StatisticsHUD.Stats.Level.LevelText.Text
  7. _G.bosslevel = playerlevel
  8. game:GetService('RunService').Stepped:connect(function()
  9. if _G.ok then
  10. player.Character.Humanoid:ChangeState(11)
  11. for i,v in pairs(workspace.ArmorHolder:GetChildren()) do
  12. if string.find(v.Name, _G.armor) and v:FindFirstChild("ArmorPad") then
  13. v.ArmorPad.Position=player.Character.HumanoidRootPart.Position
  14. wait(.1)
  15. v.ArmorPad.Position=player.Character.HumanoidRootPart.Position+Vector3.new(0,5,0)
  16. end
  17. end
  18. end
  19. end)
  20. while wait() do
  21. if _G.ok then
  22. for i,v in pairs(workspace.Mobs:GetChildren()) do
  23. if v.ClassName == "Model" and v:FindFirstChild("Enemy") and v:FindFirstChild("Head") then
  24. if string.find(v.Name, "Boss") or string.find(v.Name, "Mini-Boss") or string.find(v.Name, "Secret") or string.find(v.Name, "SuperBoss") or string.find(v.Name, "FinalBoss") or string.find(v.Name, "EndBoss") or string.find(v.Name, "Event") then
  25. if tostring(v.LevelKillReq.Value) < tostring(_G.bosslevel) then
  26. repeat wait()
  27. v.Head.Anchored=true
  28. player.Character.HumanoidRootPart.CFrame=CFrame.new(v.Head.Position+Vector3.new(0,4,0)) * CFrame.Angles(math.rad(-90), 0, 0)
  29. if player.Character:FindFirstChildOfClass("Tool") then
  30. player.Character:FindFirstChildOfClass("Tool"):Activate()
  31. else
  32. for i,v in pairs(player.Backpack:GetChildren()) do
  33. if v.Name == _G.weapon then
  34. player.Character.Humanoid:EquipTool(v)
  35. end
  36. end
  37. end
  38. until v.Enemy.Health == 0
  39. end
  40. end
  41. end
  42. end
  43. end
  44. if _G.ok == false then
  45. break
  46. end
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement