local function F(F)local C,R,I=0,0,0 C=guiController.Yaw R=-guiController.Pitch I=UpdateBoost(guiController.Boost,F)and 1 or 0 if countdownGui.TimerFrame.Visible then speeder.main.Anchored=true I=-1 C=0 R=0 else speeder.main.Anchored=false end engine.BoostInput=I engine.YawInput=C engine.PitchInput=R end
-- Mobile Input
local function GetMobileInput(step)
	-- Declare & initialize new control inputs
	local yaw, pitch, boost = 0, 0, 0

	yaw = guiController.Yaw
	pitch = -guiController.Pitch
	boost = ((UpdateBoost(guiController.Boost, step) and 1) or 0)

	-- Throttle is off during countdown
	if countdownGui.TimerFrame.Visible then
		speeder.main.Anchored = true
		boost = -1
		yaw = 0
		pitch = 0
	else
		speeder.main.Anchored = false
	end

	-- Set engine input variables
	engine.BoostInput = boost
	engine.YawInput = yaw
	engine.PitchInput = pitch
end -- GetMobileInput()
