Alright so, I was testing these animations for a while and when the dummy gets kicked it doesn't move at all. When I was using a "StarterCharacter" The same thing happened in which the body velocity does not move the character at all. Basically, I need the Dummy model to get kicked backwards but instead it's staying the same place, I don't really know what to do here.
What It's Supposed To Look Like
--Script
game.ReplicatedStorage.Kick.OnServerEvent:Connect(function() local bv = Instance.new('BodyVelocity') bv.Parent = workspace.Dummy.HumanoidRootPart bv.Velocity = workspace.Dummy.HumanoidRootPart.CFrame.LookVector * 500 bv.MaxForce = Vector3.new(9999 , 9999 , 9999) wait(.85) bv:Destroy() end)
--When Event Is Fired
TU.KeyframeReached:Connect(function(key) if key == "Kick" then CH:Stop(.3) KI:Play(.3) KI:AdjustSpeed(1.15) game.ReplicatedStorage.Kick:FireServer() local bv = Instance.new('BodyVelocity') bv.Parent = player.Character.HumanoidRootPart bv.Velocity = player.Character.HumanoidRootPart.CFrame.LookVector * 5 bv.MaxForce = Vector3.new(9999 , 9999 , 9999) wait(.85) bv:Destroy() wait(2) player.Character.Humanoid.WalkSpeed = 16 player.Character.Humanoid.JumpPower = 50 end end)
The script above works when I don't have a Custom Character but when I do the model doesn't move.
In the gif, the dummy doesn't move at all and in this code in which I tested on my default player not a "StarterCharacter" the script worked like a charm but when I added a "StarterCharacter" I didn't move. Any kind of help would be greatly appreciated or advice on what to do.