Advertisement
memberhero

Doombringer Sword

Nov 20th, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. wait(1)
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. tool = Instance.new("Tool")
  5. tool.Parent = Player.Backpack
  6. handle = Instance.new("Part")
  7. handle.Name = "Handle"
  8. handle.Parent = tool
  9. mesh = Instance.new("SpecialMesh")
  10. mesh.MeshId = "rbxassetid://532155954"
  11. mesh.TextureId = "rbxassetid://532156041"
  12. mesh.Parent = handle
  13. animation = Instance.new("Animation")
  14. animation.AnimationId = "rbxassetid://105371766"
  15. animation.Parent = tool
  16. tool.Activated:connect(function()
  17. local animtrack = Player.Character.Humanoid:LoadAnimation(animation)
  18. animtrack:Play()
  19. end)
  20. handle.Touched:connect(function(hit)
  21. if hit.Parent:FindFirstChild("Humanoid") then
  22. hit.Parent.Humanoid:TakeDamage(10)
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement