nuttanun734

E

Jun 11th, 2021 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. repeat wait() until game:IsLoaded() and game.Players and game.Players.LocalPlayer and game.Players.LocalPlayer.Character
  2. if game.PlaceId == 6284881984 then -- if main lobby
  3. warn('Map:', _G.Level)
  4. if _G.AutoMerge then
  5. wait(5.5) -- game doesn't load your inventory until a bit, so gotta wait
  6. for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.CharacterSelection.Inventory.Inventory:GetChildren()) do
  7. if v:IsA("ImageLabel") then
  8. if v.Star.Visible == false then
  9. game:GetService("ReplicatedStorage").Remotes.FeedCharacter:InvokeServer({ [v.Key.Value]= true }, _G.MergeCharacter)
  10. game:GetService("ReplicatedStorage").Remotes.CharacterSelection:InvokeServer()
  11. game:GetService("ReplicatedStorage").Remotes.CharacterCheck:InvokeServer()
  12. warn('Combined', v.Name)
  13. end
  14. end
  15. end
  16. end
  17. game:GetService("ReplicatedStorage").Remotes.CreateRoom:InvokeServer(_G.Level, _G.Password)
  18. game:GetService("ReplicatedStorage").Remotes.BeginRoom:FireServer()
  19. else
  20. local me = game.Players.LocalPlayer -- variable for easier usage later
  21.  
  22. local mt = getrawmetatable(game)
  23. local old = mt.__namecall
  24. setreadonly(mt, false)
  25. mt.__namecall = newcclosure(function(name, ...)
  26. if tostring(getnamecallmethod()):lower() == "kick" then
  27. return
  28. elseif getnamecallmethod() == "FireServer" and tostring(name) == "Ban" then
  29. return
  30. end
  31. return old(name, ...)
  32. end)
  33.  
  34. game:GetService("RunService").RenderStepped:Connect(function()
  35. me.Character.Humanoid:ChangeState(11)
  36. end)
  37. game.Players.LocalPlayer.DevCameraOcclusionMode = "Invisicam"
  38.  
  39.  
  40.  
  41. if _G.AttackType == "Spin" then
  42. while wait(.1) do
  43. pcall(function()
  44. for _,v in pairs(game:GetService("Workspace").Living:GetChildren()) do
  45. if v:FindFirstChild("AI") then
  46. if v.Humanoid.Health > 0 then
  47. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(-(_G.Distance), -(_G.Distance), 0)
  48. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  49. me.Backpack.Input.Remote:FireServer({'Light'})
  50. if not _G.NoSkill1 then
  51. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '1'})
  52. end
  53. if not _G.NoSkill2 then
  54. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '2'})
  55. end
  56. if not _G.NoSkill3 then
  57. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '3'})
  58. end
  59. if not _G.NoSkill4 then
  60. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '4'})
  61. end
  62. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({ "Skill", "TeamAssist" })
  63. wait(.15)
  64. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(-(_G.Distance), -(_G.Distance), -(_G.Distance))
  65. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  66. me.Backpack.Input.Remote:FireServer({'Light'})
  67. wait(.15)
  68. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, -(_G.Distance), -(_G.Distance))
  69. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  70. me.Backpack.Input.Remote:FireServer({'Light'})
  71. wait(.15)
  72. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new((_G.Distance), -(_G.Distance), -(_G.Distance))
  73. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  74. me.Backpack.Input.Remote:FireServer({'Light'})
  75. wait(.1)
  76. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new((_G.Distance), -(_G.Distance), 0)
  77. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  78. me.Backpack.Input.Remote:FireServer({'Light'})
  79. wait(.15)
  80. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, -(_G.Distance), (_G.Distance))
  81. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  82. me.Backpack.Input.Remote:FireServer({'Light'})
  83. wait(.15)
  84. end
  85. end
  86. end
  87. end)
  88. end
  89. else
  90. while wait(.1) do
  91. pcall(function()
  92. for _,v in pairs(game:GetService("Workspace").Living:GetChildren()) do
  93. if v:FindFirstChild("AI") then
  94. if v.Humanoid.Health > 0 then
  95. me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + Vector3.new(0, -(_G.Distance), 0)
  96. me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  97. me.Backpack.Input.Remote:FireServer({'Light'})
  98. if not _G.NoSkill1 then
  99. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '1'})
  100. end
  101. if not _G.NoSkill2 then
  102. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '2'})
  103. end
  104. if not _G.NoSkill3 then
  105. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '3'})
  106. end
  107. if not _G.NoSkill4 then
  108. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({'Skill', '4'})
  109. end
  110. game:GetService("Players").LocalPlayer.Backpack.Input.Remote:FireServer({ "Skill", "TeamAssist" })
  111. end
  112. end
  113. end
  114. end)
  115. end
  116. end
  117. end
Add Comment
Please, Sign In to add comment