#VectorForce

1 messages · Page 1 of 1 (latest)

quaint cipher
#

Why doesnt it move me?

quaint cipher
#

Please help

proud bough
#

Do you apply the VectorForce on the server or the client?

#

@quaint cipher

quaint cipher
#

Server

proud bough
#

You can't apply force to something on the server when the part has NetworkOwnerShip

quaint cipher
#

Oh

#

So what cab i do?

proud bough
#

You can either set the NetworkOwnerShip of the HumanoidRootPart to nil and later than to the Player or you can Handle the VectorForce on the client

#

I'd recommend doing it on the client

quaint cipher
#

Mhm

#

Alr

#

Thank you! I was stuck for like 1 hour ob this

#

And couldnt fix it

proud bough
#

No problem. I've been there. Pushing Parts can be really tricky.

quaint cipher
#

Fr

quaint cipher
# proud bough No problem. I've been there. Pushing Parts can be really tricky.

Hey uh sorry for ping but I did that but it still doesn't dash me, like I have set the owner to nil it.

local OCD = Instance.new("IntValue",DashFolder)
OCD.Name = Player.Name
HumRoot:SetNetworkOwner(nil)
local BodyV = Instance.new("VectorForce",HumRoot)
BodyV.Attachment0 = Ch.HumanoidRootPart.RootAttachment
BodyV.Force= Vector3.new(1000, 0, 1000)
BodyV.ApplyAtCenterOfMass = true
if StandingStill then
BodyV.Force= Ch.HumanoidRootPart.CFrame.LookVector * DSpeed
end
game:GetService("Debris"):AddItem(OCD,DashCooldown)
game:GetService("Debris"):AddItem(BodyV,DDuration)
HumRoot:SetNetworkOwner(Player)

proud bough
#

Or it might also just be the case that the VectorForce gets applied and then a few Frames later you set the NetworkOwnership back to the player through the code