Advertisement
Guest User

Head Explosion script [Roblox]

a guest
Mar 14th, 2015
1,592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. pl=game.Players.LocalPlayer
  2. mo=pl:GetMouse()
  3. local person
  4. idk=false
  5. mo.Button1Down:connect(function()
  6. idk=not idk
  7. if idk==true and mo.Target.Parent:findFirstChild'Humanoid' then
  8. person=mo.Target.Parent
  9. victim = person.Name
  10. m = Instance.new('Hint', game.Workspace)
  11. m.Text = "You have exploded "..victim.."'s head."
  12. me = person
  13. head = me.Head
  14. torso = me.Torso
  15. health = me.Humanoid
  16. leftarm = me["Left Arm"]
  17. rightarm = me["Right Arm"]
  18. leftleg = me["Left Leg"]
  19. rightleg = me["Right Leg"]
  20. leftarm.Anchored = true
  21. rightarm.Anchored = true
  22. leftleg.Anchored = true
  23. rightleg.Anchored = true
  24. torso.Anchored = true
  25. local s = Instance.new("Sound")
  26. local t = Instance.new("Sound")
  27. t.Name = "sound1"
  28. t.SoundId = "http://www.roblox.com/asset/?id=75992638"
  29. t.Volume = 1
  30. t.Pitch = 1
  31. t.Looped = false
  32. t.archivable = false
  33. t.Parent = head
  34. t:play()
  35. wait(5.4)
  36. head.CanCollide = false
  37. s.Name = "sound1"
  38. s.SoundId = "http://www.roblox.com/asset/?id=143933183"
  39. s.Volume = 1
  40. s.Pitch = 1
  41. s.Looped = false
  42. s.archivable = false
  43. s.Parent = head
  44. s:play()
  45. local b = Instance.new("Sound")
  46. b.Name = "sound1"
  47. b.SoundId = "http://www.roblox.com/asset/?id=160248280"
  48. b.Volume = 1
  49. b.Pitch = 1
  50. b.Looped = false
  51. b.archivable = false
  52. b.Parent = head
  53. b:play()
  54. head.Transparency = 999999
  55. head.face:Remove()
  56. head.CanCollide = false
  57. head.Anchored = true
  58. gui=Instance.new("BillboardGui")
  59. gui.Parent=head
  60. gui.Adornee=head
  61. gui.Size=UDim2.new(0.8,0,0.8,0)
  62. gui.StudsOffset=Vector3.new(0,1,0)
  63. img=Instance.new("ImageLabel")
  64. img.Size=UDim2.new(4,0,3,0)
  65. img.Position=UDim2.new(-1.5,0,0,0)
  66. img.BackgroundTransparency = 1
  67. img.Parent=gui
  68. img.Image = "http://www.roblox.com/asset/?id=161308023"
  69. torso.BrickColor = BrickColor.new("Really red")
  70. health.Health = -999
  71. wait(0.01)
  72. wait(5)
  73. m:Remove()
  74. end
  75. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement