Advertisement
NextFlamePB

ROBLOX Boombox Head Explosion Script

Apr 2nd, 2017
4,547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.00 KB | None | 0 0
  1. screem = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  2. screem.SoundId = "rbxassetid://362485838"
  3. screem.Volume = 30
  4. plr = game.Players.LocalPlayer.Character
  5. mouse = game.Players.LocalPlayer:GetMouse()
  6. function key(key)
  7.     key = key:lower()
  8.     if key == "q" then
  9.     for i = 1,10 do
  10.     wait()
  11.     plr.Torso.Neck.C0 = plr.Torso.Neck.C0 * CFrame.Angles(-0.07,0,0)
  12.     plr.Torso["Left Shoulder"].C0 = plr.Torso["Left Shoulder"].C0 * CFrame.new(0,-0.15,0.05)
  13.     plr.Torso["Left Shoulder"].C0 = plr.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.3,0,0)
  14.     plr.Torso["Right Shoulder"].C0 = plr.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.15,0.05)
  15.     plr.Torso["Right Shoulder"].C0 = plr.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.3,0,0)
  16.     end
  17.     local boomb = Instance.new("Part", plr.Head)
  18.     local mesh = Instance.new("SpecialMesh", boomb)
  19.     mesh.MeshId = "http://www.roblox.com/asset/?id=192488915"
  20.     mesh.TextureId = "http://www.roblox.com/asset/?id=192488947"
  21.     local weld = Instance.new("Weld", boomb)
  22.     weld.Part0 = boomb
  23.     weld.Part1 = plr["Left Arm"]
  24.     weld.C0 = weld.C0 * CFrame.Angles(0,0,3.3)
  25.     weld.C0 = weld.C0 * CFrame.new(1.9,1.65,0)
  26.     plr.Humanoid.JumpPower = 0
  27.     plr.Humanoid.WalkSpeed = 0
  28.     local cringe = Instance.new("Sound", boomb)
  29.     cringe.Volume = 20
  30.     local Math = math.random(1,4)
  31.     if Math == 1 then
  32.     cringe.SoundId = "rbxassetid://362485838"
  33.     end
  34.     if Math == 2 then
  35.     cringe.SoundId = "rbxassetid://362485838"
  36.     end
  37.     if Math == 3 then
  38.     cringe.SoundId = "rbxassetid://362485838"
  39.     end
  40.     if Math == 4 then
  41.     cringe.SoundId = "rbxassetid://362485838"
  42.     end
  43.     cringe:Play()
  44.     wait(8)
  45.     screem:Play()
  46.     for i = 1,150 do
  47.     wait()
  48.     plr.Torso.Neck.C0 = plr.Torso.Neck.C0 * CFrame.Angles(math.random(0.1,0.9),math.random(0.1,0.9),math.random(0.1,0.9))
  49. end
  50. local boom = Instance.new("Explosion", workspace)
  51. boom.BlastPressure = 2000000
  52. boom.BlastRadius = 50
  53. boom.Position = boomb.Position
  54. screem:Stop()
  55. end
  56. end
  57. mouse.KeyDown:connect(key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement