Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- params : ...
- local enabled = true
- local SV = true
- Player = game.Players.LocalPlayer
- me = Player
- mouse = Player:GetMouse()
- Weapon = false
- rud = 1
- 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")
- onKeyDown = function(key)
- if not enabled then
- return
- end
- if Player.bin.Employment.Value == true then
- return
- end
- local Key = key:lower()
- if key == "f" then
- if Player.bin.Haki.Value > 1 and Weapon == true then
- return
- end
- enabled = false
- if not Weapon then
- Weapon = true
- game.Workspace.RemoteEvents:FindFirstChild("CreateSword"):FireServer("RightHand", game.Lighting.Swords.Classic.Funkfreed, 0, -0.2, -1.6, -90, 0, 90)
- wait(0.1)
- game.Workspace.RemoteEvents:FindFirstChild("WeaponDamage"):FireServer(16, 10, 3, 0.6, -1.6)
- else
- Weapon = false
- 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")
- end
- wait(1)
- enabled = true
- end
- end
- mouse.KeyDown:connect(onKeyDown)
- onButton1Down = function(mouse)
- if not enabled then
- return
- end
- if Player.bin.Numb.Value == true then
- return
- end
- local player = game.Players.LocalPlayer
- if player == nil then
- return
- end
- if Player.Character.Humanoid.Health <= 0 then
- return
- end
- if me.bin.Employment.Value == true or not Weapon then
- return
- end
- enabled = false
- local Humanoid = Player.Character:findFirstChild("Humanoid")
- if rud == 1 then
- rud = 2
- anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand1)
- else
- if rud == 2 then
- rud = 3
- anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand2)
- else
- if rud == 3 then
- rud = 1
- anim_feet = Humanoid:LoadAnimation(game.Lighting.Npc.OneHand3)
- end
- end
- end
- local current = anim_feet
- current:Play(0.1, 1, 2)
- Player.bin.Employment.Value = true
- game.Workspace.RemoteEvents:FindFirstChild("PlaySound"):FireServer("SlashSound")
- game.Workspace.RemoteEvents:FindFirstChild("Hit"):FireServer(0.6)
- wait(0.7)
- enabled = true
- end
- mouse.Button1Down:connect(function()
- onButton1Down(mouse)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement