the turning aspect of the old skateboards used in some roblox skate parks are broken and i genuinely do not know how to fix them. if you would like to try to help, message me on discord @ pops#1510 I can also provide more information there, thanks.

function onAxisChanged(axis) Board.Steer = Controller.Steer Board.Throttle = Controller.Throttle

if (Board.Steer == -1) then
	print("Left")
	--CoastingAnim:Stop(1)
	KickAnim:Stop()
	OllieAnim:Stop()
	RightAnim:Stop(.5)
	LeftAnim:Play(.5)
	didAction("left")
end

if (Board.Steer == 1) then
	print("Right")
	KickAnim:Stop()
	--CoastingAnim:Stop(1)
	LeftAnim:Stop(.5)
	OllieAnim:Stop()
	RightAnim:Play(.5)
	didAction("right")
end

if (Board.Steer == 0) then
	print("Straight")

	KickAnim:Stop()
	LeftAnim:Stop(.5)
	OllieAnim:Stop()
	RightAnim:Stop(.5)
	
	if (lastaction == "go" and time() - lasttime < .1) then
		
	end
	didAction("go")
	--CoastingAnim:Play(1)

	if (Board.CruiseLoop.IsPlaying == false) then Board.CruiseLoop:Play() end

might be something with that but I really am not sure, I dont script.

4 comments

0

Maybe switching (Board.Steer) value to a set of defined variables.

0

For instance change If (Board.Steer == 1) then

0

to if (Board.Left = true) then "your code here" else straight or something similar

0

Then wire up your functions