jackhunger

How do i know?

Jul 29th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. plr = game.Players[name]
  2. backpack = plr.Backpack
  3. local tool = Instance.new("Tool")
  4. tool.Name = "Tool" -- Tool Name
  5. local sc = Instance.new("Script") --1st Script. If you need more of these Copy and Paste from sc.Source to ]] near the End, edges to end.
  6. sc.Source = [[
  7.  
  8. tool = script.Parent
  9.  
  10. edges = 8
  11.  
  12. none = "None"
  13. slash = "Slash"
  14. lunge = "Lunge"
  15. currentaction = none
  16. function Slice(an)
  17. local anim = Instance.new("StringValue")
  18. anim.Name = "toolanim"
  19. anim.Value = an
  20. anim.Parent = tool
  21. if an == lunge then
  22. wait(.25)
  23. tool.GripUp = Vector3.new(0, 0, 1) -- point outwards
  24. wait(.25)
  25. tool.GripUp = Vector3.new(0, 1, 0) -- hold normal
  26. end
  27. end
  28.  
  29. function checkhandle()
  30. handle = tool:FindFirstChild("Handle")
  31. if handle== nil then
  32. tool.Parent =nil
  33. end
  34. end
  35. checkhandle()
  36. function getdam(mode)
  37. if mode == none then return 5 end -- for touching
  38. if mode == slash then return 20 end
  39. if mode == lunge then return 30 end
  40. end
  41. fu
Advertisement
Add Comment
Please, Sign In to add comment