I am trying to make a script that flings the player towards the “LeserelModel” and I’m not too sure how to do it without BodyVelocity, which I don’t want to use considering it’s deprecated.
So, if someone could help me out, it would be much appreciated.
function AttackModule.LeserelSuction(LeserelModel, Target)
local LeserelAnimFolder = LeserelModel:FindFirstChild("Animations")
local FlingAnimation = LeserelAnimFolder:FindFirstChild("Fling")
local Animator:Animator = LeserelModel:FindFirstChild("Humanoid"):FindFirstChild("Animator")
local FlingTrack = Animator:LoadAnimation(FlingAnimation)
FlingTrack:Play()
FlingTrack:GetMarkerReachedSignal("Fling"):Wait()
end
BodyVelocity is fine, it’s just outdated, you can also use LinearVelocity or Velocity for flinging. Make sure the velocity only lasts around 0.2 seconds and make it extremely powerful, so it has the kind of “fling” feel.