Advertisement
metilol

Untitled

Apr 16th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.91 KB | None | 0 0
  1. game.Players.LocalPlayer.Character.Head.Mesh:destroy()
  2. function doo(limb, pos)
  3.     limb:BreakJoints()
  4.     local velocity = Instance.new("RocketPropulsion", limb)
  5.     velocity.CartoonFactor = 0
  6.     velocity.MaxSpeed = 30
  7.     velocity.MaxThrust = 9999
  8.     velocity.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  9.     velocity.Target = game.Players.LocalPlayer.Character.Torso
  10.     velocity.TargetOffset = pos
  11.     velocity:fire()
  12.     local b = Instance.new("BodyGyro", limb)
  13. end
  14. doo(game.Players.LocalPlayer.Character["Left Arm"], Vector3.new(-0.5,-2,-1))
  15. doo(game.Players.LocalPlayer.Character["Right Arm"], Vector3.new(0.5,-2,-1))
  16. doo(game.Players.LocalPlayer.Character["Left Leg"], Vector3.new(-0.5,-2,1))
  17. doo(game.Players.LocalPlayer.Character["Right Leg"], Vector3.new(0.5,-2,1))
  18.  
  19.  
  20. ragdolld = false
  21. mouse = game.Players.LocalPlayer:GetMouse()
  22. function ragdoll(key)
  23.     key = key:lower()
  24.     if key == "e" and not ragdolld then
  25.         ragdolld = true
  26.         game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"SSSSSSSSSSSSSSSSSS!","Red")
  27. wait()
  28. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  29. lol = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  30. lol.SoundId = "rbxassetid://249888532"
  31. lol:Play()
  32. part = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
  33. part.Position = game.Players.LocalPlayer.Character.Head.Position + Vector3.new(0,178,0)
  34. part.Anchored = true
  35. part.CanCollide = false
  36. part.BrickColor = BrickColor.new("Really black")
  37. mesh = Instance.new("SpecialMesh", part)
  38. mesh.MeshId = "http://roblox.com/asset/?id=2251534"
  39. mesh.Scale = Vector3.new(1,1,1)
  40. part.Rotation = Vector3.new(-90,0,0)
  41. boomb = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  42. boomb.SoundId = "rbxassetid://258057783"
  43. for i = 1,178 do
  44.     wait(0.01)
  45.     part.Position = part.Position - Vector3.new(0,1,0)
  46. end
  47. boomb.Volume = 25
  48. boomb:Play()
  49. game.Lighting.FogColor = Color3.new(255,255,255)
  50. game.Lighting.FogEnd = 1
  51. bomb = Instance.new("Explosion", game.Players.LocalPlayer.Character.Head)
  52. bomb.Position = part.Position
  53. bomb.BlastRadius = 250
  54. bomb.BlastPressure = 3000000
  55. part.Transparency = 1
  56. boom = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
  57. boom.Anchored = true
  58. boom.CanCollide = false
  59. boom.Position = part.Position
  60. mesh1 = Instance.new("SpecialMesh", boom)
  61. mesh1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  62. boom.BrickColor = BrickColor.new("Bright yellow")
  63. boom.Rotation = Vector3.new(90,0,0)
  64. boom.Transparency = 0.5
  65. lol.Volume = 32
  66. for i = 1,750 do
  67.     wait()
  68.     game.Lighting.FogEnd = game.Lighting.FogEnd + 2000
  69.     game.Workspace.CurrentCamera.FieldOfView = math.random(60,80)
  70.     boom.Rotation = boom.Rotation + Vector3.new(0,0,1)
  71.     mesh1.Scale = mesh1.Scale - Vector3.new(3,3,4.5)
  72. end
  73. game.Lighting.FogEnd = 100000000
  74. part:destroy()
  75. lol:destroy()
  76. boom:destroy()
  77. game.Workspace.CurrentCamera.FieldOfView = 70
  78. end
  79. end
  80.  
  81. mouse.KeyDown:connect(ragdoll)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement