local function T(T)local s,b,k=0,0,0 s=guiController.Yaw b=-guiController.Pitch k=UpdateBoost(guiController.Boost,T)and 1 or 0 if countdownGui.TimerFrame.Visible then speeder.main.Anchored=true k=-1 s=0 b=0 else speeder.main.Anchored=false end engine.BoostInput=k engine.YawInput=s engine.PitchInput=b end

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()
