FE SmackPunch Script (FIXED VERSION)
FE SmackPunch Script (FIXED VERSION)
vel = hrp.Velocity
hrp.Velocity = vel * 10000 + fling_dir
run_service.RenderStepped:Wait()
hrp.Velocity = vel
run_service.Stepped:Wait()
hrp.Velocity = vel + Vector3.new(0, movel, 0)
movel = -movel
end
fling_running = false
end
mouse.KeyDown:Connect(function(key)
if key == punch_textbox.Text then
if player.Character and player.Character:FindFirstChild("Humanoid")
then
if player.Character.Humanoid.RigType == Enum.HumanoidRigType.R15
then
perform_animation("846744780", 1)
else
perform_animation("204062532", 1)
end
end
elseif key == slash_textbox.Text then
if player.Character and player.Character:FindFirstChild("Humanoid")
then
if player.Character.Humanoid.RigType == Enum.HumanoidRigType.R15
then
perform_animation("675025570", 3.4)
else
perform_animation("218504594", 1)
end
end
end
end)