Advertisement
SpacecowboyHX

MessAround V1.0.4

Aug 12th, 2020 (edited)
2,588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.55 KB | None | 0 0
  1. function killP(Target)
  2.     if Target and Target.Character then
  3.         local LocalPlayer = game.Players.LocalPlayer
  4.         local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  5.         local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  6.  
  7.         local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  8.         Torso.Anchored = true
  9.         local tool = Instance.new("Tool", LocalPlayer.Backpack)
  10.         local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  11.         local hathandle = hat.Handle
  12.         hathandle.Parent = tool
  13.         hathandle.Massless = true
  14.         tool.GripPos = Vector3.new(0, 9e99, 0)
  15.         tool.Parent = LocalPlayer.Character
  16.         repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  17.         tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  18.         Torso.Anchored = false
  19.         repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  20.         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)
  21.         LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  22.         hathandle.Parent = hat
  23.         hathandle.Massless = false
  24.         tool:Destroy()
  25.         LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  26.     else
  27.         print("player not found")
  28.     end
  29. end
  30. function build(player)
  31.     local gui = Instance.new("ScreenGui")
  32.     gui.Parent = player.PlayerGui
  33.          button= Instance.new("TextButton")
  34.     button.Draggable = true
  35.     button.Parent = gui
  36.     button.Position = UDim2.new(0.05,0,0.101,0)
  37.     button.Size = UDim2.new(0,176,0,26)
  38.     button.Active = true
  39.     button.BackgroundColor3 = Color3.fromRGB(58,58,58)
  40.     button.BorderColor3 = Color3.fromRGB(91,91,91)
  41.     button.BorderSizePixel = 5
  42.     button.Visible = true
  43.     button.Font = Enum.Font.GothamBold
  44.     button.Text = "Mess around V0.0.2"
  45.     button.TextColor3 = Color3.new(0,255,85)
  46.     button.TextScaled = true
  47.          frame = Instance.new("Frame")
  48.     frame.Parent = button
  49.     frame.BackgroundColor3 = Color3.fromRGB(54,54,54)
  50.     frame.BorderColor3 = Color3.fromRGB(93,93,93)
  51.     frame.BorderSizePixel = 5
  52.     frame.Position = UDim2.new(0,0,1.231,0)
  53.     frame.Size = UDim2.new(0,176,0,197)
  54.     frame.Visible = true
  55.     frame.Selectable = false
  56.          seiz = Instance.new("TextButton")
  57.     seiz.Parent = frame
  58.     seiz.Active = true
  59.     seiz.BackgroundColor3 = Color3.fromRGB(58,58,58)
  60.     seiz.BorderColor3 = Color3.fromRGB(91,91,91)
  61.     seiz.BorderSizePixel = 3
  62.     seiz.Visible = true
  63.     seiz.Font = Enum.Font.GothamBold
  64.     seiz.Text = "Seizure"
  65.     seiz.TextColor3 = Color3.fromRGB(0,255,85)
  66.     seiz.TextScaled = true
  67.     seiz.Position = UDim2.new(0.051,0,0.03,0)
  68.     seiz.Size = UDim2.new(0,159,0,30)
  69.          timer = Instance.new("TextBox")
  70.     timer.Parent = seiz
  71.     timer.Text = "Time"
  72.     timer.Active = true
  73.     timer.BackgroundColor3 = Color3.fromRGB(58,58,58)
  74.     timer.BorderColor3 = Color3.fromRGB(91,91,91)
  75.     timer.BorderSizePixel = 3
  76.     timer.Visible = true
  77.     timer.Font = Enum.Font.GothamBold
  78.     timer.TextColor3 = Color3.fromRGB(0,255,85)
  79.     timer.TextScaled = true
  80.     timer.Size = UDim2.new(0,80,0,23)
  81.     timer.Position = UDim2.new(0,0,1.33,0)
  82.          intense = Instance.new("TextBox")
  83.     intense.Parent = seiz
  84.     intense.Text = "Intensity"
  85.     intense.Active = true
  86.     intense.BackgroundColor3 = Color3.fromRGB(58,58,58)
  87.     intense.BorderColor3 = Color3.fromRGB(91,91,91)
  88.     intense.BorderSizePixel = 3
  89.     intense.Visible = true
  90.     intense.Font = Enum.Font.GothamBold
  91.     intense.TextColor3 = Color3.fromRGB(0,255,85)
  92.     intense.TextScaled = true
  93.     intense.Size = UDim2.new(0,80,0,23)
  94.     intense.Position = UDim2.new(0.497, 0,1.333, 0)
  95.         kill = Instance.new("TextButton")
  96.     kill.Parent = frame
  97.     kill.Active = true
  98.     kill.BackgroundColor3 = Color3.fromRGB(58,58,58)
  99.     kill.BorderColor3 = Color3.fromRGB(91,91,91)
  100.     kill.BorderSizePixel = 3
  101.     kill.Visible = true
  102.     kill.Font = Enum.Font.GothamBold
  103.     kill.Text = "Kill"
  104.     kill.TextColor3 = Color3.fromRGB(0,255,85)
  105.     kill.TextScaled = true
  106.     kill.Position = UDim2.new(0.051,0,0.421,0)
  107.     kill.Size = UDim2.new(0,159,0,30)
  108.         killN = Instance.new("TextBox")
  109.     killN.Parent = frame
  110.     killN.Active = true
  111.     killN.BackgroundColor3 = Color3.fromRGB(58,58,58)
  112.     killN.BorderColor3 = Color3.fromRGB(91,91,91)
  113.     killN.BorderSizePixel = 3
  114.     killN.Visible = true
  115.     killN.Font = Enum.Font.GothamBold
  116.     killN.Text = "Player Name"
  117.     killN.TextColor3 = Color3.fromRGB(0,255,85)
  118.     killN.TextScaled = true
  119.     killN.Position = UDim2.new(0.045, 0,0.609, 0)
  120.     killN.Size = UDim2.new(0, 159,0, 22)
  121. end
  122. build(game.Players.LocalPlayer)
  123. local db = false
  124. local db2 = false
  125. function Seizure(timee,intensity,char)
  126.     char.Humanoid.PlatformStand = true
  127.     local catch = tick()
  128.     while wait() do
  129.         char.HumanoidRootPart.Velocity = char.HumanoidRootPart.Velocity+Vector3.new(0,(intensity),0)
  130.         local rando = math.random(-(intensity/2),(intensity/2))
  131.         char.HumanoidRootPart.RotVelocity = char.HumanoidRootPart.RotVelocity+Vector3.new(rando,rando,rando)
  132.         local getTime = (tick()-catch)  
  133.         if getTime>=timee then
  134.            break
  135.         end
  136.         wait((intensity/100))  
  137.     end
  138.     char.Humanoid.PlatformStand = false
  139. end
  140. seiz.MouseButton1Click:Connect(function()
  141.     local intensity = tonumber(intense.Text)
  142.     local amnt = tonumber(timer.Text)
  143.     if amnt and intensity then
  144.         local char = game.Players.LocalPlayer.Character
  145.         repeat wait() char = game.Players.LocalPlayer.Character until char
  146.         if db == false then db = true
  147.             Seizure(amnt,intensity,char)
  148.             db = false
  149.         end
  150.     end
  151. end)
  152. button.MouseButton1Click:Connect(function()
  153.     if frame.Visible == false then
  154.         frame.Visible = true
  155.     else
  156.         if frame.Visible == true then
  157.             frame.Visible = false
  158.         end
  159.     end
  160. end)
  161. kill.MouseButton1Click:Connect(function()
  162.     local name = killN.Text
  163.     if name then
  164.         name = string.lower(name)
  165.         local all = game.Players:GetChildren()
  166.         for i = 1,#all do
  167.             local nameP = all[i].Name
  168.             if string.lower(string.sub(nameP,1,#name)) == name then
  169.                 if db2==false then db2 = true
  170.                     killP(game.Players[nameP])
  171.                     db2 = false
  172.                     break
  173.                 end
  174.             end
  175.         end
  176.     end
  177. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement