Force not showing any effect

  1. What do you want to achieve?
    For my gliding/hoverboard system: i want the hoverboard to dash forward when the player hits the spacebar. im currently doing this using a Vectorforce which is applied from the hoverboard.

  2. What is the issue?
    in the script, the force is being changed when hitting the spacebar but in game nothing seems to happen.

  3. What solutions have you tried so far?
    playing around with the force properties

serverscript inside of the hoverboard:


game.ReplicatedStorage.Dash.OnServerEvent:Connect(function(plr)
	if script.Parent.Parent == plr.ValFolder.CurrentGlider.Value then
		script.Parent.Attachmentt.ForwardForce.Force = plr.Character.PrimaryPart.CFrame.LookVector * 1000
		print("Dash")
		task.wait(1)
		script.Parent.Attachmentt.ForwardForce.Force = Vector3.new(0,0,0)
	end
end)

--keeping the hoverboard in the air:
while true do
	script.Parent.Attachmentt.LinearVelocity.LineVelocity = -10
	task.wait(0.25)
end


2 Likes

force might be too weak. tried amping it up yet?

2 Likes

bru yes thats the solution
thank you.

I thought 1000 multiplier was a lot

2 Likes

Hey just wanted to mention, what about instead of forces, you use walkspeed? And force the player to go forward by using the :Move() method from the humanoid.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.