Hi! I'm currently trying to make a tram with brake and power pedals, operated by hotkeys. I want it to resemble a slider, but using just hotkeys for making the power/brakes stronger or weaker.
I want to make it so Vector3 (X axis to be exact) gets updated all the time - currently it only updates it once it executes it the first time.
while wait() do --script.Parent.Value > 0 local force = 5000+(250*script.Parent.Value) script.Parent.Parent.Parent.Parent.Bogies.Front.Main.VectorForce.Force = Vector3.new(force,0,0) --see comment below end -- '0' should stay the same but also got no idea how to keep them the same, so for now, I'm just leaving them at 0. If you feel like explaining this too, go ahead, but it's not that needed.
Thanks in advance!