Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Setting You can Set the Size of Hitbox Expand as you Want
- local setting = {
- hitbox = 7
- }
- -- Full Script
- local player = game.Players.LocalPlayer
- local character = player.Character
- local localroot = character:WaitForChild("HumanoidRootPart")
- local hum = character:WaitForChild("Humanoid")
- --Made by : https://v3rmillion.net/member.php?action=profile&uid=1642742
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/lime"))()
- local w = Library:Window("Asylum life Auto Kill v2 by Mawin_CK")
- w:Button("Go to safeZone for safe AutoKilling", function()
- local part = Instance.new("Part")
- part.Size = Vector3.new(100, 1, 100)
- part.Position = Vector3.new(1000, 1000, 1000)
- part.Name = "Safe Client"
- part.Parent = game.Workspace
- part.Anchored = true
- part.Color = Color3.new(1, 1, 1)
- wait(0.1)
- localroot.CFrame = part.CFrame * CFrame.new(0, 5, 0)
- end)
- local function UnCollideBody()
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= player and v.Character then
- local charParts = v.Character:GetDescendants() -- Gets all descendants to include nested parts
- for _, g in pairs(charParts) do
- if g:IsA("BasePart") and g.CanCollide then -- Check if it's a BasePart and has CanCollide enabled
- g.CanCollide = false -- Disable collisions
- end
- end
- end
- end
- end
- local Active = false
- w:Toggle("Auto Punch", function(v)
- Active = v
- if Active and hum.Health > 0 then
- while Active and hum.Health > 0 do
- wait(1)
- game:GetService("ReplicatedStorage").RemoteEvents.Weapons.Punch:FireServer()
- end
- end
- end)
- local On = false
- w:Toggle("Auto Kill(Active With Punch)", function(state)
- On = state
- if On and hum.Health > 0 then
- while On and hum.Health > 0 do
- game:GetService("RunService").Heartbeat:Wait()
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= player and v.Character and not v.Character:FindFirstChildWhichIsA("Forcefield") then
- local JN = v.Character:FindFirstChild("HumanoidRootPart")
- local JNR = v.Character:FindFirstChildOfClass("Humanoid")
- if JN and JNR and JNR.Health > 0 then
- while On and hum.Health > 0 and JNR.Health > 0 do
- game:GetService("RunService").RenderStepped:Wait()
- UnCollideBody()
- JN.CFrame = localroot.CFrame * CFrame.new(0, 0, -5)
- JN.Size = Vector3.new(setting.hitbox, setting.hitbox, setting.hitbox)
- JN.Transparency = 0.5
- end
- end
- end
- end
- end
- end
- end)
- game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
- character = char
- localroot = character:WaitForChild("HumanoidRootPart")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement