coolgoldboy166

sanic

Oct 21st, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. ---Credit to no one.
  2.  
  3. local player = game.Players.LocalPlayer
  4. local char = player.Character
  5. local head = char.Head
  6. local To = char.Torso
  7. local HRP = char.HumanoidRootPart
  8. local RA = char["Right Arm"]
  9. local LA = char["Left Arm"]
  10. local RL = char["Right Leg"]
  11. local LL = char["Left Leg"]
  12. local Hum = char:FindFirstChildOfClass("Humanoid")
  13.  
  14.  
  15.  
  16. local s1 = Instance.new("Sound",char)
  17. s1.SoundId = "rbxassetid://534526212"
  18. s1.Volume = 0.5
  19. s1.Looped = true
  20. s1:Play()
  21.  
  22.  
  23.  
  24.  
  25.  
  26. function T(Part,Transparency)
  27. Part.Transparency = Transparency
  28. end
  29.  
  30.  
  31. T(head,1)
  32. T(To,1)
  33. T(RA,1)
  34. T(LA,1)
  35. T(RL,1)
  36. T(LL,1)
  37.  
  38. head.face:remove()
  39. Hum.WalkSpeed = 100
  40. Hum.JumpPower = 100
  41. head:WaitForChild("Jumping")
  42. head.Jumping.SoundId = "rbxassetid://151681170"
  43. head.Jumping.Volume = 3
  44.  
  45.  
  46. local bbg = Instance.new('BillboardGui', HRP)
  47. bbg.Adornee=HRP
  48. bbg.Size=UDim2.new(8,0,8,0)
  49. bbg.AlwaysOnTop = false
  50. local img = Instance.new('ImageLabel',bbg)
  51. img.BackgroundTransparency=1
  52. img.Size=UDim2.new(1,0,1,0)
  53. img.Image = "rbxassetid://334640788"
  54.  
  55. To.Touched:connect(function(Part)
  56. if Part.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  57. HRP.Anchored = true
  58. local e = Instance.new("Explosion",To)
  59. e.BlastPressure = 4000000 -- 500000
  60. e.BlastRadius = 10
  61. e.DestroyJointRadiusPercent = 0
  62. e.ExplosionType = "NoCraters"
  63. e.Position = Part.Position
  64. e.Visible = false
  65.  
  66. local s = Instance.new("Sound",workspace)
  67. local si = math.random(1,3)
  68. if si == 1 then
  69. s.SoundId = "rbxassetid://260430117"
  70. elseif si == 2 then
  71. s.SoundId = "rbxassetid://137579113"
  72. elseif si == 3 then
  73. s.SoundId = "rbxassetid://278062209"
  74. end
  75. s.Volume = 0.5
  76. s.PlayOnRemove = true
  77. local p = math.random(1,3)
  78. if p == 1 then
  79. s.PlaybackSpeed = 1
  80. elseif p == 2 then
  81. s.PlaybackSpeed = 1.2
  82. elseif p == 3 then
  83. s.PlaybackSpeed = 0.8
  84. end
  85. s:remove()
  86. wait(0.1)
  87. HRP.Anchored = false
  88. end
  89. end)
Add Comment
Please, Sign In to add comment