kingmixes
(Zay)
December 25, 2022, 10:04pm
#1
Trying to make a vault but Linear Velocity isnt really working, it goes up but on t he x axis it seems to be too weak to push the player. The force is set to math.huge.
Vele.VectorVelocity = Root.CFrame.LookVector * 1 + Vector3.new(0,15,0)
wait(.1)
Vele.VectorVelocity = Root.CFrame.LookVector *1 Vector3.new(-15,0,0)```
Apply the force a few more times, like 2 or 3 times in different frames
kingmixes
(Zay)
December 25, 2022, 10:31pm
#3
Ok that makes it work, however ,I am noticing the direction is wrong when I move? I am using lookVector so I am not sure why this is happening
Vele.VectorVelocity = Root.CFrame.LookVector * 1 + Vector3.new(0,15,0)
wait(.1)
Vele.VectorVelocity = Root.CFrame.LookVector * 1 + Vector3.new(-5,0,0)
local Vele2 = Instance.new("LinearVelocity",Root)
local Attachment2 = Instance.new("Attachment")
Vele2.Attachment0 = Attachment2
Vele2.MaxForce = math.huge
Vele2.VectorVelocity = Root.CFrame.LookVector *1 + Vector3.new(Val,0,0)```
I’ve never used LookVector, maybe try using Orientation