Advertisement
Blueisim

Untitled

Aug 15th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. --crappy god script idec if you take its so simple
  2. --localscript btw
  3. local player=game.Players.LocalPlayer
  4. local char=player.Character
  5. local target=char.Humanoid
  6. target.MaxHealth=math.huge
  7. target.Health=target.MaxHealth
  8. --see? so simple.
  9.  
  10.  
  11. --[[ look at this crap script im working on lol
  12. this script is so bad rn its not worth leaking.
  13.  
  14. wait(0.2)
  15. print'axe guitar loaded'
  16. local player=game.Players.LocalPlayer
  17. local char=player.Character
  18. local mesh=Instance.new("SpecialMesh")
  19. local tool=Instance.new("Tool")
  20. local handle=Instance.new("Part")
  21. local tequipped=false
  22. local hsize=Vector3.new(0.8, 4.54, 0.2)
  23. local Mouse = player:GetMouse()
  24. local swinging=false
  25. local anim=Instance.new("Animation")
  26. local Humanoid=char.Humanoid
  27. local dsong=Instance.new("Sound")
  28. --done declaring stuff, right?--
  29. handle.Name="Handle"
  30. tool.Parent=player.Backpack
  31. tool.Name="Axe Guitar"
  32. tool.Equipped:connect(function()
  33. tequipped=true
  34. end)
  35. tool.Unequipped:connect(function()
  36. tequipped=false
  37. end)
  38. handle.Parent=tool
  39. mesh.Parent=handle
  40. MeshType="FileMesh"
  41. mesh.Scale=Vector3.new(0.9,0.9,0.9)
  42. handle.Size=hsize
  43. mesh.MeshId="http://www.roblox.com/asset/?id=82342591"
  44. mesh.TextureId="http://www.roblox.com/asset/?id=82342618"
  45. dsong.SoundId="rbxassetid://219374380"
  46. dsong.Parent=handle
  47. anim.AnimationId="rbxassetid://479700414"
  48. anim.Parent=tool
  49. function resetpos()
  50. print'Resetting..'
  51. tool.GripForward=Vector3.new(0,0,1)
  52. tool.GripPos=Vector3.new(0,0.5,0)
  53. tool.GripRight=Vector3.new(1,0,0)
  54. tool.GripUp=Vector3.new(-0.5,0.9,0)
  55. end
  56. Mouse.Button1Down:connect(function()
  57. print'Ooh! Mouse down!'
  58. if tequipped==true then
  59. swinging=true
  60. tool.GripForward=Vector3.new(0.707,0.707,0)
  61. tool.GripPos=Vector3.new(0,1.5,0)
  62. tool.GripRight=Vector3.new(1,0,0)
  63. tool.GripUp=Vector3.new(0,1,0)
  64. local animTrack = Humanoid:LoadAnimation(anim)
  65. animTrack:Play()
  66. print"played animation"
  67. local econnection=handle.Touched:connect(function(h)
  68. if h.Parent:FindFirstChild("Humanoid") then
  69. h.Parent.Humanoid.Health=0
  70. dsong:Play()
  71. wait(5)
  72. dsong.Volume=0.8
  73. wait(0.3)
  74. dsong.Volume=0.6
  75. wait(0.3)
  76. dsong.Volume=0.4
  77. wait(0.3)
  78. dsong.Volume=0.2
  79. wait(0.3)
  80. dsong.Volume=0
  81. dsong:Stop()
  82. resetpos()
  83. end
  84. end)
  85. wait(0.8)
  86. econnection:disconnect()
  87. swinging=false
  88. else
  89. end
  90. end)
  91. --]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement