Advertisement
SigmaBoy456

roblox Asylum life GUI v2

Sep 13th, 2024 (edited)
3,647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. -- Setting You can Set the Size of Hitbox Expand as you Want
  2. local setting = {
  3. hitbox = 7
  4. }
  5.  
  6. -- Full Script
  7. local player = game.Players.LocalPlayer
  8. local character = player.Character
  9. local localroot = character:WaitForChild("HumanoidRootPart")
  10. local hum = character:WaitForChild("Humanoid")
  11.  
  12. --Made by : https://v3rmillion.net/member.php?action=profile&uid=1642742
  13. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/lime"))()
  14.  
  15. local w = Library:Window("Asylum life Auto Kill v2 by Mawin_CK")
  16.  
  17. w:Button("Go to safeZone for safe AutoKilling", function()
  18. local part = Instance.new("Part")
  19. part.Size = Vector3.new(100, 1, 100)
  20. part.Position = Vector3.new(1000, 1000, 1000)
  21. part.Name = "Safe Client"
  22. part.Parent = game.Workspace
  23. part.Anchored = true
  24. part.Color = Color3.new(1, 1, 1)
  25. wait(0.1)
  26. localroot.CFrame = part.CFrame * CFrame.new(0, 5, 0)
  27. end)
  28.  
  29. local function UnCollideBody()
  30. for _, v in pairs(game.Players:GetPlayers()) do
  31. if v ~= player and v.Character then
  32. local charParts = v.Character:GetDescendants() -- Gets all descendants to include nested parts
  33. for _, g in pairs(charParts) do
  34. if g:IsA("BasePart") and g.CanCollide then -- Check if it's a BasePart and has CanCollide enabled
  35. g.CanCollide = false -- Disable collisions
  36. end
  37. end
  38. end
  39. end
  40. end
  41.  
  42. local Active = false
  43. w:Toggle("Auto Punch", function(v)
  44. Active = v
  45. if Active and hum.Health > 0 then
  46. while Active and hum.Health > 0 do
  47. wait(1)
  48. game:GetService("ReplicatedStorage").RemoteEvents.Weapons.Punch:FireServer()
  49. end
  50. end
  51. end)
  52.  
  53. local On = false
  54. w:Toggle("Auto Kill(Active With Punch)", function(state)
  55. On = state
  56. if On and hum.Health > 0 then
  57. while On and hum.Health > 0 do
  58. game:GetService("RunService").Heartbeat:Wait()
  59. for _, v in pairs(game.Players:GetPlayers()) do
  60. if v ~= player and v.Character and not v.Character:FindFirstChildWhichIsA("Forcefield") then
  61. local JN = v.Character:FindFirstChild("HumanoidRootPart")
  62. local JNR = v.Character:FindFirstChildOfClass("Humanoid")
  63. if JN and JNR and JNR.Health > 0 then
  64. while On and hum.Health > 0 and JNR.Health > 0 do
  65. game:GetService("RunService").RenderStepped:Wait()
  66. UnCollideBody()
  67. JN.CFrame = localroot.CFrame * CFrame.new(0, 0, -5)
  68. JN.Size = Vector3.new(setting.hitbox, setting.hitbox, setting.hitbox)
  69. JN.Transparency = 0.5
  70. end
  71. end
  72. end
  73. end
  74. end
  75. end
  76. end)
  77.  
  78. game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  79. character = char
  80. localroot = character:WaitForChild("HumanoidRootPart")
  81. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement