--Mobile Handbrake System

local MobileHandbrake = false
if InputHandler.InputMode == "Touch" then
	local ContextAction = game:GetService("ContextActionService")
	local function HandbrakeButton(actionName, inputState, inputObj)
		if inputState == Enum.UserInputState.Begin then
			MobileHandbrake = true
		elseif inputState == Enum.UserInputState.End then
			MobileHandbrake = false
		end
	end
	ContextAction:BindAction("Handbrake",HandbrakeButton,true)
	end