I want to make the body of a humanoid fly back when attacked (Do not teleport), I somehow did it right before but this time it does not work
Below I left the script that I wrote, maybe I wrote something wrong?
I want to make the body of a humanoid fly back when attacked (Do not teleport), I somehow did it right before but this time it does not work
Below I left the script that I wrote, maybe I wrote something wrong?
Change:
local BodyPosition = Instance.new("BodyPosition", Humanoid)
To:
local BodyPosition = Instance.new("BodyPosition", Hit.Parent.HumanoidRootPart)