Advertisement
EPRX

Untitled

Jun 10th, 2020
1,554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(('https://pastebin.com/raw/FsJak6AT')))() -- It's obfuscated, I won't let you see my ugly coding skills. =)
  2. local mouse = game.Players.LocalPlayer:GetMouse()
  3. local w = library:CreateWindow("Monster Battle")
  4. local b = w:CreateFolder("Main")
  5.  
  6. b:Label("Monster Battle",Color3.fromRGB(244,218,38),Color3.fromRGB(10,116,211)) --BgColor,TextColor
  7.  
  8. b:Toggle("Fire at Mouse", function(booel)
  9. Fire = booel
  10. end)
  11. spawn(function()
  12. while wait()do
  13. if Fire then
  14. wait(0.1)
  15. if mouse.Target.Name == "Head" then
  16. require(game.ReplicatedStorage.Scripts.LoadModule)("Networking/ClientNetwork"):FireServerEvent(
  17. "GunHitEvent",
  18. game.Players.LocalPlayer.Character:WaitForChild("Range"),
  19. Ray.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, mouse.Target.Position),
  20. mouse.Target.Parent,
  21. mouse.Target,
  22. mouse.Target.Position
  23. )
  24. end
  25. end
  26. end
  27. end)
  28.  
  29. b:Toggle("Big Head",function(bool)
  30. bighead = bool
  31. end)
  32. spawn(function()
  33. while wait() do
  34. if bighead then
  35. wait()
  36. for i,v in pairs(game:GetService("Workspace").Enemies:GetDescendants()) do
  37. if v.Name == "HumanoidRootPart" and v.Parent.Name ~= "Boost Stone" then
  38. v.Parent:WaitForChild("Head").Size = Vector3.new(6,6,6)
  39. v.Parent:WaitForChild("Head").Transparency = 0.3
  40. v.Parent:WaitForChild("Head").CanCollide = false
  41. end
  42. end
  43. end
  44. end
  45. end)
  46.  
  47. b:Toggle("Melee Aura",function(booool)
  48. meleeaura = booool
  49. end)
  50. spawn(function()
  51. while wait() do
  52. if meleeaura then
  53. wait(0.5)
  54. for i,v in pairs(game.workspace.Enemies:GetDescendants()) do
  55. if v.Name == "HumanoidRootPart" then
  56. require(game.ReplicatedStorage.Scripts.LoadModule)("Networking/ClientNetwork"):FireServerEvent(
  57. "MeleeHitEvent",
  58. v.Parent,
  59. game.Players.LocalPlayer.Character:WaitForChild("Melee").TrailPart.Position
  60. )
  61. end
  62. end
  63. end
  64. end
  65. end)
  66.  
  67. b:Toggle("Disable Shadows", function(booel)
  68. shared.togglee = booel
  69. if shared.togglee == true then
  70. game:GetService("Lighting").GlobalShadows = false
  71. else
  72. game:GetService("Lighting").GlobalShadows = true
  73. end
  74. end)
  75.  
  76. b:Slider("WalkSpeed",16,50,function(value) --MinValue,MaxValue
  77. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
  78. end)
  79.  
  80. b:Button("Infinite Health",function()
  81. local humanoid = game.Players.LocalPlayer.Character.Humanoid
  82. local currentHealth = humanoid.Health
  83. require(game.ReplicatedStorage.Scripts.LoadModule)("Networking/ClientNetwork"):FireServerEvent("DamagePlayer", -math.huge)
  84. humanoid.HealthChanged:Connect(function(health)
  85. require(game.ReplicatedStorage.Scripts.LoadModule)("Networking/ClientNetwork"):FireServerEvent("DamagePlayer", -math.huge)
  86. end)
  87. end)
  88.  
  89. b:GuiSettings() -- Use it if you want to let people customize toggles,buttons and sliders color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement