Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for index, obj in pairs(game:GetService("CoreGui"):GetChildren()) do
- if "PEPSIKILLGUI" == obj.Name then
- obj:Destroy()
- end
- end
- local ready, LocalPlayer, Players, gui, CreateInstance = true, game:GetService("Players").LocalPlayer, game:GetService("Players"), {}, function(cls, props, name)
- local inst = Instance.new(cls)
- for i, v in pairs(props) do
- inst[i] = v
- end
- if not name then
- inst.Name = string.rep("x", math.random(math.random(3, 20), math.random(70, 120))):gsub(".", function(...)
- return ("\226\128\174" .. ({"👩", "❤", "💋", "🍁", "🌔", "🚲", "♻", "👨", "👧", "👦", "🇩🇰", "👍", "👎", "\n", "\r", "̮̜ͯ͂̇\"", "_", "=", "(", ")", "[", "]", "\"", "'", "\\", "/", "{", "}", "@", "#", "$", "%", "^", "&", "*", " ", "̤", "҉", "͐", "ͧ", "͆", "̑", "ͥ", "͒", "̀", "̟", "̼", "̘", "͈", "͓", "̪", "̡", "͒", "̉", "ͨ", "̻", "̜", "̼", "̟", "͍", "̖", "̦", "̱", "̞", "͎", "̷", "ͤ", "͋", "̃", "͇", "͔", "ͤ", "̒", "̣", "̰", "̙", "̥", "̤", "͖", "̫", "̗", "́", "̚", "̾", "͊", "ͥ", "̍", "̋", "̏", "ͩ", "ͬ", "ͮ", "̆", "̩", "̈́", "̐", "͑", "̽", "̅", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "z", "x", "c", "v", "b", "n", "m", ".", ",", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Z", "X", "C", "V", "B", "N", "M", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "`", "~"})[math.random(1, 166)]) or tostring(... or string.rtl) or string.rtl
- end)
- end
- return inst
- end
- gui.ui = CreateInstance("Frame", {Style = Enum.FrameStyle.Custom, Active = true, AnchorPoint = Vector2.new(0, 0), BackgroundColor3 = Color3.new(0.05, 0.05, 0.05), BackgroundTransparency = 0.11500000208616, BorderColor3 = Color3.new(0, 0, 0), BorderSizePixel = 3, ClipsDescendants = false, Draggable = true, Position = UDim2.new(0.5, -70, 0.5, -70), Rotation = 0, Selectable = false, Size = UDim2.new(0, 140, 0, 70), SizeConstraint = Enum.SizeConstraint.RelativeXY, Visible = true, ZIndex = 1, Name = "ui", Parent = CreateInstance("ScreenGui", {DisplayOrder = 0, Enabled = true, ResetOnSpawn = true, Name = "PEPSIKILLGUI", Parent = game:GetService("CoreGui")}, true)})
- gui.Username = CreateInstance("TextBox", {ClearTextOnFocus = true, Font = Enum.Font.SourceSans, FontSize = Enum.FontSize.Size8, MultiLine = false, Text = "", TextColor3 = Color3.new(0, 0, 0), PlaceholderText = "Name", PlaceholderColor3 = Color3.new(0.7, 0.7, 0.7), TextScaled = true, TextSize = 5, TextStrokeColor3 = Color3.new(0, 0, 0), TextStrokeTransparency = 1, TextTransparency = 0, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, Active = true, AnchorPoint = Vector2.new(0, 0), BackgroundColor3 = Color3.new(0.115, 0.115, 0.115), BackgroundTransparency = 0, BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843), BorderSizePixel = 0, ClipsDescendants = false, Draggable = false, Position = UDim2.new(0.100000001, 0, 0.25, 0), Rotation = 0, Selectable = true, Size = UDim2.new(0.800000012, 0, 0, 25), SizeConstraint = Enum.SizeConstraint.RelativeXY, Visible = true, ZIndex = 1, Name = "Username", Parent = gui.ui})
- CreateInstance("TextButton", {Font = Enum.Font.Gotham, FontSize = Enum.FontSize.Size8, Text = "Kill", TextColor3 = Color3.new(0, 0, 0), TextScaled = true, TextSize = 5, TextStrokeColor3 = Color3.new(0, 0, 0), TextStrokeTransparency = 1, TextTransparency = 0, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, AutoButtonColor = true, Modal = false, Selected = false, Style = Enum.ButtonStyle.Custom, Active = true, AnchorPoint = Vector2.new(0, 0), BackgroundColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0.75, BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843), BorderSizePixel = 2, ClipsDescendants = false, Draggable = false, Position = UDim2.new(0.379999995, 0, 0.574999988, 7), Rotation = 0, Selectable = true, Size = UDim2.new(0.25, 0, 0, 15), SizeConstraint = Enum.SizeConstraint.RelativeXY, Visible = true, ZIndex = 1, Name = "Kill", Parent = gui.ui}).MouseButton1Click:Connect(function()
- local Target = (function(String)
- String = (String or gui.Username.Text):match("^%s*(.-)%s*$")
- for _, _Player in pairs(Players:GetPlayers()) do
- if _Player.Name:lower():match('^' .. String:lower()) then
- if _Player ~= LocalPlayer then
- return _Player
- end
- end
- end
- local p
- repeat
- p = Players:GetPlayers()[math.random(1, #Players:GetPlayers())]
- until p ~= LocalPlayer
- return p
- end)(gui.Username.Text)
- if Target and Target.Character and ready then
- pcall(function()
- ready = false
- local Character = LocalPlayer.Character or (function()
- LocalPlayer.CharacterAdded:wait()
- return LocalPlayer.Character
- end)()
- local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
- local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
- Torso.Anchored = true
- local tool = Instance.new("Tool", LocalPlayer.Backpack)
- local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
- local hathandle = hat.Handle
- hathandle.Parent = tool
- hathandle.Massless = true
- tool.GripPos = Vector3.new(0, 9e99, 0)
- tool.Parent = LocalPlayer.Character
- repeat
- wait()
- until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
- tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
- Torso.Anchored = false
- pcall(function()
- repeat
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame
- game:GetService("RunService").RenderStepped:wait()
- until Target.Character == nil or Target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or (Target.Character:FindFirstChild("HumanoidRootPart").Velocity.magnitude - Target.Character:FindFirstChild("Humanoid").WalkSpeed) > (Target.Character:FindFirstChild("Humanoid").WalkSpeed + 20)
- end)
- LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- hathandle.Parent = hat
- hathandle.Massless = false
- tool:Destroy()
- pcall(function()
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
- end)
- Torso.Anchored = false
- end)
- ready = true
- end
- end)
- LocalPlayer:GetMouse().KeyDown:Connect(function(k)
- game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
- if k:lower() == "p" then
- gui.ui.Visible = not gui.ui.Visible
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement