SpacecowboyHX

MessAround V1.0.4

Aug 12th, 2020 (edited)
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.35 KB | None | 0 0
  1. function chat(msg)
  2.    game:service'ReplicatedStorage'.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, 'All')
  3. end
  4. function killP(Target)
  5.     if Target and Target.Character then
  6.         local LocalPlayer = game.Players.LocalPlayer
  7.         local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
  8.         local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
  9.  
  10.         local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  11.         Torso.Anchored = true
  12.         local tool = Instance.new("Tool", LocalPlayer.Backpack)
  13.         local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
  14.         local hathandle = hat.Handle
  15.         hathandle.Parent = tool
  16.         hathandle.Massless = true
  17.         tool.GripPos = Vector3.new(0, 9e99, 0)
  18.         tool.Parent = LocalPlayer.Character
  19.         repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  20.         tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
  21.         Torso.Anchored = false
  22.         repeat LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = Target.Character:FindFirstChild("HumanoidRootPart").CFrame wait()
  23.         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)
  24.         LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  25.         hathandle.Parent = hat
  26.         hathandle.Massless = false
  27.         tool:Destroy()
  28.         LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
  29.     else
  30.         print("player not found")
  31.     end
  32. end
  33. function build(player)
  34.     local gui = Instance.new("ScreenGui")
  35.     gui.Parent = player.PlayerGui
  36.          button= Instance.new("TextButton")
  37.     button.Draggable = true
  38.     button.Parent = gui
  39.     button.Position = UDim2.new(0.05,0,0.101,0)
  40.     button.Size = UDim2.new(0,176,0,26)
  41.     button.Active = true
  42.     button.BackgroundColor3 = Color3.fromRGB(58,58,58)
  43.     button.BorderColor3 = Color3.fromRGB(91,91,91)
  44.     button.BorderSizePixel = 5
  45.     button.Visible = true
  46.     button.Font = Enum.Font.GothamBold
  47.     button.Text = "Mess around V0.0.2"
  48.     button.TextColor3 = Color3.new(0,255,85)
  49.     button.TextScaled = true
  50.          frame = Instance.new("Frame")
  51.     frame.Parent = button
  52.     frame.BackgroundColor3 = Color3.fromRGB(54,54,54)
  53.     frame.BorderColor3 = Color3.fromRGB(93,93,93)
  54.     frame.BorderSizePixel = 5
  55.     frame.Position = UDim2.new(0,0,1.231,0)
  56.     frame.Size = UDim2.new(0,176,0,197)
  57.     frame.Visible = true
  58.     frame.Selectable = false
  59.          seiz = Instance.new("TextButton")
  60.     seiz.Parent = frame
  61.     seiz.Active = true
  62.     seiz.BackgroundColor3 = Color3.fromRGB(58,58,58)
  63.     seiz.BorderColor3 = Color3.fromRGB(91,91,91)
  64.     seiz.BorderSizePixel = 3
  65.     seiz.Visible = true
  66.     seiz.Font = Enum.Font.GothamBold
  67.     seiz.Text = "Seizure"
  68.     seiz.TextColor3 = Color3.fromRGB(0,255,85)
  69.     seiz.TextScaled = true
  70.     seiz.Position = UDim2.new(0.051,0,0.03,0)
  71.     seiz.Size = UDim2.new(0,159,0,30)
  72.          timer = Instance.new("TextBox")
  73.     timer.Parent = seiz
  74.     timer.Text = "Time"
  75.     timer.Active = true
  76.     timer.BackgroundColor3 = Color3.fromRGB(58,58,58)
  77.     timer.BorderColor3 = Color3.fromRGB(91,91,91)
  78.     timer.BorderSizePixel = 3
  79.     timer.Visible = true
  80.     timer.Font = Enum.Font.GothamBold
  81.     timer.TextColor3 = Color3.fromRGB(0,255,85)
  82.     timer.TextScaled = true
  83.     timer.Size = UDim2.new(0,80,0,23)
  84.     timer.Position = UDim2.new(0,0,1.33,0)
  85.          intense = Instance.new("TextBox")
  86.     intense.Parent = seiz
  87.     intense.Text = "Intensity"
  88.     intense.Active = true
  89.     intense.BackgroundColor3 = Color3.fromRGB(58,58,58)
  90.     intense.BorderColor3 = Color3.fromRGB(91,91,91)
  91.     intense.BorderSizePixel = 3
  92.     intense.Visible = true
  93.     intense.Font = Enum.Font.GothamBold
  94.     intense.TextColor3 = Color3.fromRGB(0,255,85)
  95.     intense.TextScaled = true
  96.     intense.Size = UDim2.new(0,80,0,23)
  97.     intense.Position = UDim2.new(0.497, 0,1.333, 0)
  98.         kill = Instance.new("TextButton")
  99.     kill.Parent = frame
  100.     kill.Active = true
  101.     kill.BackgroundColor3 = Color3.fromRGB(58,58,58)
  102.     kill.BorderColor3 = Color3.fromRGB(91,91,91)
  103.     kill.BorderSizePixel = 3
  104.     kill.Visible = true
  105.     kill.Font = Enum.Font.GothamBold
  106.     kill.Text = "Kill"
  107.     kill.TextColor3 = Color3.fromRGB(0,255,85)
  108.     kill.TextScaled = true
  109.     kill.Position = UDim2.new(0.051,0,0.421,0)
  110.     kill.Size = UDim2.new(0,159,0,30)
  111.         killN = Instance.new("TextBox")
  112.     killN.Parent = frame
  113.     killN.Active = true
  114.     killN.BackgroundColor3 = Color3.fromRGB(58,58,58)
  115.     killN.BorderColor3 = Color3.fromRGB(91,91,91)
  116.     killN.BorderSizePixel = 3
  117.     killN.Visible = true
  118.     killN.Font = Enum.Font.GothamBold
  119.     killN.Text = "Player Name"
  120.     killN.TextColor3 = Color3.fromRGB(0,255,85)
  121.     killN.TextScaled = true
  122.     killN.Position = UDim2.new(0.045, 0,0.609, 0)
  123.     killN.Size = UDim2.new(0, 159,0, 22)
  124. end
  125. build(game.Players.LocalPlayer)
  126. local db = false
  127. local db2 = false
  128. function Seizure(timee,intensity,char)
  129.     local chats = {
  130.         "I dont feel so good...",
  131.         "Why am i seeing flashing lights!?",
  132.         "I feel like shaking...",
  133.         "I feel pain in my head",
  134.         "My ears are ringing, help",
  135.         "I think im about to go into shock",
  136.         "Well i didnt know robloxians can have seizures",
  137.         "I feel weak",
  138.         "someone, help",
  139.         "I feel like screaming",
  140.         "im going to explode, i think",
  141.         "i am about to enter a state of shock and have a seizure, so please, do not step on my flopping character",
  142.         "I can only see red..!",
  143.         "My mouth is forming bubbles",
  144.         "I see spiders crawling out from the walls!"
  145.     }
  146.     local rando = math.random(1,#chats)
  147.     local text = chats[rando]
  148.     chat(text)
  149.     wait((#text/12))
  150.     char.Humanoid.PlatformStand = true
  151.     local catch = tick()
  152.     while wait() do
  153.         char.HumanoidRootPart.Velocity = char.HumanoidRootPart.Velocity+Vector3.new(0,(intensity),0)
  154.         local rando = math.random(-(intensity/2),(intensity/2))
  155.         char.HumanoidRootPart.RotVelocity = char.HumanoidRootPart.RotVelocity+Vector3.new(rando,rando,rando)
  156.         local getTime = (tick()-catch)  
  157.         if getTime>=timee then
  158.            break
  159.         end
  160.         wait((intensity/100))  
  161.     end
  162.     char.Humanoid.PlatformStand = false
  163. end
  164. seiz.MouseButton1Click:Connect(function()
  165.     local intensity = tonumber(intense.Text)
  166.     local amnt = tonumber(timer.Text)
  167.     if amnt and intensity then
  168.         local char = game.Players.LocalPlayer.Character
  169.         repeat wait() char = game.Players.LocalPlayer.Character until char
  170.         if db == false then db = true
  171.             Seizure(amnt,intensity,char)
  172.             db = false
  173.         end
  174.     end
  175. end)
  176. button.MouseButton1Click:Connect(function()
  177.     if frame.Visible == false then
  178.         frame.Visible = true
  179.     else
  180.         if frame.Visible == true then
  181.             frame.Visible = false
  182.         end
  183.     end
  184. end)
  185. kill.MouseButton1Click:Connect(function()
  186.     local name = killN.Text
  187.     if name then
  188.         name = string.lower(name)
  189.         local all = game.Players:GetChildren()
  190.         for i = 1,#all do
  191.             local nameP = all[i].Name
  192.             if string.lower(string.sub(nameP,1,#name)) == name then
  193.                 if db2==false then db2 = true
  194.                     killP(game.Players[nameP])
  195.                     db2 = false
  196.                     break
  197.                 end
  198.             end
  199.         end
  200.     end
  201. end)
Add Comment
Please, Sign In to add comment