HaxRoblox

Body Rocket|LocalScript

Oct 11th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. plr.Character.Humanoid.Animator:Destroy()
  3. local t = Instance.new('Sound' ,game.Workspace)
  4. t.SoundId = 'http://www.roblox.com/asset/?id=2248511'
  5. local Mouse = plr:GetMouse()
  6. Mouse.KeyDown:connect(function(Key)
  7. Key = Key:lower()
  8. if Key == 'e' then
  9. local h = Instance.new('Part' ,game.Workspace)
  10. h.Material = 'Neon'
  11. h.Name = 'Bullet'
  12. h.BrickColor = BrickColor.new('Really black')
  13. h.Size = Vector3.new(1,1,4)
  14. h.Anchored = true
  15. h.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,0,-4.3)
  16. local function ontouch(hit)
  17. local r = Instance.new('Explosion' ,game.Workspace)
  18. r.ExplosionType = 'NoCraters'
  19. r.BlastRadius = 0
  20. r.Position = Vector3.new(h.Position.X,h.Position.Y,h.Position.Z)
  21. h:Destroy()
  22. hit.Parent.Humanoid.Health = 0
  23. hit:BreakJoints()
  24. t.Playing = true
  25.  
  26. end
  27. h.Touched:connect(ontouch)
  28. while true do wait()
  29. h.CFrame = h.CFrame * CFrame.new(0,0,-3.4)
  30.  
  31. end
  32. end
  33. end)
  34. plr = game.Players.LocalPlayer
  35. plr.Character.Humanoid.Animator:Destroy()
  36. local t = Instance.new('Sound' ,game.Workspace)
  37. t.SoundId = 'http://www.roblox.com/asset/?id=2248511'
  38. local Mouse = plr:GetMouse()
  39. Mouse.KeyDown:connect(function(Key)
  40. Key = Key:lower()
  41. if Key == 'q' then
  42. local h = Instance.new('Part' ,game.Workspace)
  43. h.Material = 'Neon'
  44. h.Name = 'Bullet'
  45. h.BrickColor = BrickColor.new('Really black')
  46. h.Size = Vector3.new(1,1,4)
  47. h.Anchored = true
  48. h.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,0,-4.3)
  49. local function ontouch(hit)
  50. local r = Instance.new('Explosion' ,game.Workspace)
  51. r.ExplosionType = 'NoCraters'
  52. r.BlastRadius = 0
  53. r.Position = Vector3.new(h.Position.X,h.Position.Y,h.Position.Z)
  54. h:Destroy()
  55. hit.Parent.Humanoid.Health = 0
  56. hit:BreakJoints()
  57. t.Playing = true
  58.  
  59. end
  60. h.Touched:connect(ontouch)
  61. while true do wait()
  62. h.CFrame = h.CFrame * CFrame.new(0,0,-3.4)
  63.  
  64. end
  65. end
  66. end)
  67.  
  68.  
  69. --CREDITS ScriptingLua_LuaTeam
Advertisement
Add Comment
Please, Sign In to add comment