Advertisement
iiFlamez

Untitled

Nov 11th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. -- params : ...
  2.  
  3. local enabled = true
  4. local SV = true
  5. Player = game.Players.LocalPlayer
  6. me = Player
  7. mouse = Player:GetMouse()
  8. Weapon = false
  9. rud = 1
  10. game.Workspace.RemoteEvents:FindFirstChild("Inout"):FireServer(game.Lighting.Swords.Classic.FunkfreedInout, me.Character.UpperTorso.Size.X / 4 + 0.3, -0.6, me.Character.UpperTorso.Size.Z / 2 + 0.05, -90, 0, 90, game.Lighting.Swords.Classic.Funkfreed, me.Character.UpperTorso.Size.X / 4 + 0.3, 0.4, me.Character.UpperTorso.Size.Z / 2 + 0.05, 0, -90, -90, false, "UpperTorso")
  11. onKeyDown = function(key)
  12. if not enabled then
  13. return
  14. end
  15. if Player.bin.Employment.Value == true then
  16. return
  17. end
  18. local Key = key:lower()
  19. if key == "f" then
  20. if Player.bin.Haki.Value > 1 and Weapon == true then
  21. return
  22. end
  23. enabled = false
  24. if not Weapon then
  25. Weapon = true
  26. game.Workspace.RemoteEvents:FindFirstChild("CreateSword"):FireServer("RightHand", game.Lighting.Swords.Classic.Funkfreed, 0, -0.2, -1.6, -90, 0, 90)
  27. wait(0.1)
  28. game.Workspace.RemoteEvents:FindFirstChild("WeaponDamage"):FireServer(16, 10, 3, 0.6, -1.6)
  29. else
  30. Weapon = false
  31. game.Workspace.RemoteEvents:FindFirstChild("SwordsOff"):FireServer(game.Lighting.Swords.Classic.Funkfreed, me.Character.UpperTorso.Size.X / 4 + 0.3, 0.4, me.Character.UpperTorso.Size.Z / 2 + 0.05, 0, -90, -90, 0, false, "UpperTorso")
  32. end
  33. wait(1)
  34. enabled = true
  35. end
  36. end
  37.  
  38. mouse.KeyDown:connect(onKeyDown)
  39. onButton1Down = function(mouse)
  40. if not enabled then
  41. return
  42. end
  43. if Player.bin.Numb.Value == true then
  44. return
  45. end
  46. local player = game.Players.LocalPlayer
  47. if player == nil then
  48. return
  49. end
  50. if Player.Character.Humanoid.Health <= 0 then
  51. return
  52. end
  53. if me.bin.Employment.Value == true or not Weapon then
  54. return
  55. end
  56. enabled = false
  57. local Humanoid = Player.Character:findFirstChild("Humanoid")
  58. if rud == 1 then
  59. rud = 2
  60. anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand1)
  61. else
  62. if rud == 2 then
  63. rud = 3
  64. anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand2)
  65. else
  66. if rud == 3 then
  67. rud = 1
  68. anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand3)
  69. end
  70. end
  71. end
  72. local current = anim_feet
  73. current:Play(0.1, 1, 2)
  74. Player.bin.Employment.Value = true
  75. game.Workspace.RemoteEvents:FindFirstChild("PlaySound"):FireServer("SlashSound")
  76. game.Workspace.RemoteEvents:FindFirstChild("Hit"):FireServer(0.6)
  77. wait(0.7)
  78. enabled = true
  79. end
  80.  
  81. mouse.Button1Down:connect(function()
  82. onButton1Down(mouse)
  83. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement