Kaemi

Exploding Boombox

Apr 19th, 2017
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.50 KB | None | 0 0
  1. --By Rufus14 (Exploding Jukebox -Remade By Kaemi)
  2. screem = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  3. screem.SoundId = "rbxassetid://396873260"
  4. screem.PlaybackSpeed = 0.25
  5. screem.Volume = 100
  6. plr = game.Players.LocalPlayer.Character
  7. mouse = game.Players.LocalPlayer:GetMouse()
  8. doing = false
  9. function key(key)
  10.     key = key:lower()
  11.     if key == "q" then
  12.     if not doing then
  13.     doing = true
  14.     for i = 1,10 do
  15.     wait()
  16.     plr.Torso.Neck.C0 = plr.Torso.Neck.C0 * CFrame.Angles(-0.07,0,0)
  17.     plr.Torso["Left Shoulder"].C0 = plr.Torso["Left Shoulder"].C0 * CFrame.new(0,-0.15,0.05)
  18.     plr.Torso["Left Shoulder"].C0 = plr.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.3,0,0)
  19.     plr.Torso["Right Shoulder"].C0 = plr.Torso["Right Shoulder"].C0 * CFrame.new(0,-0.15,0.05)
  20.     plr.Torso["Right Shoulder"].C0 = plr.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.3,0,0)
  21.     end
  22.     local boomb = Instance.new("Part", plr.Head)
  23.     local mesh = Instance.new("SpecialMesh", boomb)
  24.     mesh.MeshId = "http://www.roblox.com/asset/?id=84302661"
  25.     mesh.TextureId = "http://www.roblox.com/asset/?id=84302759"
  26.     local weld = Instance.new("Weld", boomb)
  27.     weld.Part0 = boomb
  28.     weld.Part1 = plr["Left Arm"]
  29.     weld.C0 = weld.C0 * CFrame.Angles(0,0,3.3)
  30.     weld.C0 = weld.C0 * CFrame.new(1.9,1.65,0)
  31.     plr.Humanoid.JumpPower = 0
  32.     plr.Humanoid.WalkSpeed = 0
  33.     local Juke = Instance.new("Sound", boomb)
  34.     Juke.Volume = 20
  35.     local Math = math.random(1,9)
  36.     if Math == 1 then
  37.     Juke.SoundId = "rbxassetid://138143795"
  38.     end
  39.     if Math == 2 then
  40.     Juke.SoundId = "rbxassetid://130803007"
  41.     end
  42.     if Math == 3 then
  43.     Juke.SoundId = "rbxassetid://142295308"
  44.     end
  45.     if Math == 4 then
  46.     Juke.SoundId = "rbxassetid://253564383"
  47.     end
  48.     if Math == 5 then
  49.     Juke.SoundId = "rbxassetid://641177564"
  50.     end
  51.     if Math == 6 then
  52.     Juke.SoundId = "rbxassetid://565649306"
  53.     end
  54.     if Math == 7 then
  55.     Juke.SoundId = "rbxassetid://467369212"
  56.     end
  57.     if Math == 8 then
  58.     Juke.SoundId = "rbxassetid://660625064"
  59.     end
  60.     if Math == 9 then
  61.     Juke.SoundId = "rbxassetid://534878097"
  62.     end
  63.     Juke:Play()
  64.     wait(20)
  65.     for i = 1,1 do
  66.     wait()
  67.     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))
  68.     wait()
  69.     screem:Play()
  70.     wait(2)  
  71. end
  72. local boom = Instance.new("Explosion", workspace)
  73. boom.BlastPressure = 2000000
  74. boom.BlastRadius = 50
  75. boom.Position = boomb.Position
  76. screem:Stop()
  77. end
  78. end
  79. end
  80. mouse.KeyDown:connect(key)
Add Comment
Please, Sign In to add comment