Can you add two vector3 values?

Can you add two vector 3 values?

game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function()
    game.Players.LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.UpVector*150 + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector*15
end)

Player is jumping high but is not going front, so can you add 2 vector values or any other way to add it

You can add 2 vector3 values…

1 Like

Oh then why is my script not pushing player forward, is it a script error or it cannot push?

Try using AssemblyAngularVelocity instead of Linear.

Also I suggest creating local variables to make your script 10x faster, such as:

local HumanoidRootPart = game.Players.LocalPlayer.Character.HumanoidRootPart
HumanoidRootPart.AssemblyAngularVelocity = HumanoidRootPart.CFrame.UpVector*150 + HumanoidRootPart.CFrame.LookVector*15
1 Like

It worked thank you player is flying

1 Like