Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Prefix = "g/kill "
- Name = "boomboomsha"
- local Player = game:GetService("Players")[Name]
- function GetPlayer(String)
- local Found = {}
- local StringLowered = String:lower()
- if StringLowered == "all" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(Found, v)
- end
- elseif StringLowered == "others" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name ~= Player.Name then
- table.insert(Found, v)
- end
- end
- else
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name:lower():sub(1, #String) == String:lower() then
- table.insert(Found, v)
- end
- end
- end
- return Found
- end
- Player.Chatted:Connect(function(msg)
- if msg:sub(1, 7) == "g/kill " then
- for i,v in pairs(GetPlayer(tostring(msg:sub(8)))) do
- target = v
- end
- Instance.new("Explosion", target.Character:FindFirstChild("Head"))
- local oof = target.Character:FindFirstChild("UpperTorso") or target.Character:FindFirstChild("Torso")
- oof.Name = "69"
- target.Character:FindFirstChildWhichIsA("Humanoid").Health = target.Character:FindFirstChildWhichIsA("Humanoid").Health - target.Character:FindFirstChildWhichIsA("Humanoid").MaxHealth
- local bodyforce = Instance.new("BodyForce", target.Character:FindFirstChild("HumanoidRootPart"))
- bodyforce.Force = Vector3.new(9e99, 9e99, 9e99)
- spawn(function()
- for i = 1,25 do
- target.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(0, -9e99, 0)
- end
- end)
- target.Character:FindFirstChild("Head"):Destroy()
- target.Character:FindFirstChild("Humanoid").PlatformStand = true
- target.Character:FindFirstChild("Humanoid").Parent = workspace.Camera
- for i,v in pairs(target.Character:GetChildren()) do
- if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("BasePart") then
- v.Size = Vector3.new(9e99, 9e99, 9e99)
- end
- end
- target.Character:BreakJoints()
- end
- end)
- Player.CharacterAdded:Connect(function()
- wait(1/60)
- local Prefix = "g/kill "
- local Player = game:GetService("Players")[Name]
- function GetPlayer(String)
- local Found = {}
- local StringLowered = String:lower()
- if StringLowered == "all" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- table.insert(Found, v)
- end
- elseif StringLowered == "others" then
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name ~= Player.Name then
- table.insert(Found, v)
- end
- end
- else
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Name:lower():sub(1, #String) == String:lower() then
- table.insert(Found, v)
- end
- end
- end
- return Found
- end
- Player.Chatted:Connect(function(msg)
- if msg:sub(1, 7) == "g/kill " then
- for i,v in pairs(GetPlayer(tostring(msg:sub(8)))) do
- target = v
- end
- Instance.new("Explosion", target.Character:FindFirstChild("Head"))
- local oof = target.Character:FindFirstChild("UpperTorso") or target.Character:FindFirstChild("Torso")
- oof.Name = "69"
- target.Character:FindFirstChildWhichIsA("Humanoid").Health = target.Character:FindFirstChildWhichIsA("Humanoid").Health - target.Character:FindFirstChildWhichIsA("Humanoid").MaxHealth
- local bodyforce = Instance.new("BodyForce", target.Character:FindFirstChild("HumanoidRootPart"))
- bodyforce.Force = Vector3.new(math.huge, math.huge, math.huge)
- spawn(function()
- for i = 1,25 do
- target.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(0, -99e9999, 0)
- end
- end)
- target.Character:FindFirstChild("Head"):Destroy()
- target.Character:FindFirstChild("Humanoid").PlatformStand = true
- target.Character:FindFirstChild("Humanoid").Parent = workspace.Camera
- for i,v in pairs(target.Character:GetDescendants()) do
- if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("BasePart") then
- v.Size = Vector3.new(math.huge, math.huge, math.huge)
- end
- end
- target.Character:BreakJoints()
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement