Deadwoodx
(Deadwoodx)
#1
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
MediaHQ
(Media)
#2
You can add 2 vector3 values…
1 Like
Deadwoodx
(Deadwoodx)
#3
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
Deadwoodx
(Deadwoodx)
#5
It worked thank you player is flying
1 Like