Dark_EccentricYT

Untitled

Apr 19th, 2017
3,299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. --[[ ROCKET THROWER SCRIPT --]]
  2.  
  3. --BY MR STEAL YO BORK
  4. local plr = game.Players.LocalPlayer
  5. local char = plr.Character
  6. local hum = char.Humanoid
  7. local ra = char["Right Arm"]
  8. local bp = plr.Backpack
  9. local tool = Instance.new("Tool", bp)
  10. local handle = Instance.new("Part", tool)
  11. local mesh = Instance.new("SpecialMesh", handle)
  12. local event = Instance.new("RemoteEvent", tool)
  13. local mouse = plr:GetMouse()
  14. local root = char.HumanoidRootPart
  15.  
  16. --=tool=--
  17. tool.Name = "rocket thrower"
  18. tool.GripForward = Vector3.new(-0.102, -0.019, -0.995)
  19. tool.GripPos = Vector3.new(0.132, 0.736, 0.126)
  20. tool.GripRight = Vector3.new(0.995, 0.006, -0.102)
  21. tool.GripUp = Vector3.new(-0.008, 1, -0.018)
  22.  
  23. --=Handle/Mesh=--
  24. handle.Name = "Handle"
  25. mesh.MeshId = "http://www.roblox.com/asset?ID=2251534"
  26. mesh.Offset = Vector3.new(0, 0, 0)
  27. mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  28. mesh.TextureId = "http://www.roblox.com/asset?ID=2251530"
  29. mesh.VertexColor = Vector3.new(1, 1, 1)
  30.  
  31.  
  32. --=Hax n Debounce=--
  33. wait(1)
  34. local Debounce, DebounceTime = false, 0.1
  35.  
  36. local en = true
  37. tool.Activated:connect(function()
  38. if not Debounce then
  39. Debounce = true
  40. if not en then return end
  41. en = false
  42. event:FireServer(mouse.Hit)
  43.  
  44.  
  45. wait(0.5)
  46. en = true
  47.  
  48. wait(DebounceTime)
  49. Debounce = false
  50. end
  51.  
  52. end)
  53.  
  54. --=Ultra Hax=-
  55. local en = true
  56. tool.Equipped:connect(function(Mouse)
  57. Mouse.Button1Down:connect(function(play)
  58. local s = Instance.new("Sound", tool.Handle)
  59. s.SoundId = "http://www.roblox.com/asset?id=258057783" --446824013
  60. s.Volume = 10
  61. s.Pitch = 1
  62. s.Looped = false
  63. s.archivable = false
  64. local s1 = Instance.new("Sound", tool.Handle)
  65. s1.SoundId = "http://www.roblox.com/asset?id=446824013"
  66. s1.Volume = 5
  67. s1.Pitch = 1
  68. s1.Looped = false
  69. s1.archivable = false
  70. root.CFrame = CFrame.new(root.Position,root.Position + Vector3.new(Mouse.Hit.lookVector.x,0,Mouse.Hit.lookVector.z))
  71. wait(0.3)
  72. local handleclone = tool.Handle:clone()
  73. handleclone.CFrame = tool.Handle.CFrame
  74. local bv = Instance.new("BodyVelocity")
  75. bv.MaxForce = Vector3.new(1e8,1e8,1e8)
  76. bv.Velocity = Mouse.Hit.lookVector * 100
  77. bv.Parent = handleclone
  78. handleclone.CanCollide = false
  79. handleclone.Parent = game.Workspace
  80. game.Debris:AddItem(handleclone,10)
  81. local ten = true
  82. handleclone.Touched:connect(function(hit)
  83. if not ten then return end
  84. ten = false
  85. local ehum = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid")
  86. if ehum and ehum ~= hum then
  87. ehum:TakeDamage(7)
  88. elseif hit.Anchored == true and hit.CanCollide == true then
  89. local ex = Instance.new("Explosion", handleclone)
  90. ex.Position = handleclone.Position
  91. ex.BlastPressure = 10000
  92. ex.BlastRadius = 200
  93. ex.ExplosionType = "CratersAndDebris"
  94. ex.DestroyJointRadiusPercent = 0.5
  95. ex.Hit:connect(function(Part, Distance)
  96. s:play()
  97. s1:play()
  98. s1.TimePosition = 3
  99. wait(10)
  100. s1:Stop()
  101. Part.Anchored = false
  102. if Distance <= 25 then
  103. Part:BreakJoints()
  104. end
  105. end)
  106. end
  107. wait()
  108. ten = true
  109. end)
  110. end)
  111. end)
  112.  
  113. --------------------------------------------------------------------------------------------------------------------------------------=END=--------------------------------------------------------------------------------------------------------------------------------------
Add Comment
Please, Sign In to add comment