You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
2 players, one is attacking, the other is being attacked. The attacked player flings away from the attacking player, how would I do this
What is the issue? Include screenshots / videos if possible!
no idea how roblox physics velocity works
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
No similar posts
local AttackerHumanoidRootPart -- SET THIS TO THE ROOT PART OF THE ATTACKER
local EnemyHumanoidRootPart -- SET THIS TO THE ROOT PART OF THE ENEMY
local KnockbackSpeed = 10 -- SET THIS
local Velocity = AttackerHumanoidRootPart.CFrame.LookVector*KnockbackSpeed
EnemyHumanoidRootPart.AssemblyLinearVelocity = Velocity
watch my tutorial, do ther same but instead of a part, do the humanoid root part or the torso of the attacker. Should work fine, with or without ragdoll.