A-Chassis Vehicle Mobile Support

Heya folks I have free-model resource for you all to use! Made by me, lceyDex…better known as Real_IceyDev. Since this can be really hard to set-up I’ll give you a set-up run through with a description of what you must do, with a video explaining it aswell.

The images are pretty basic images for the pedals & hand brake, I know. But it was just a quick thing, and I think/hope nobody really cares about images. I could change them if they’re bad.

Model link: A-Chassics Mobile Support! - Roblox

Screenshot;

:warning::warning:PLEASE NOTE: *Some gauges are not made/are not compatible with my mobile UI.*:warning::warning:
EXAMPLE:


It’s all over the place.

Setup

Heya! So first of all, get the model: A-Chassics Mobile Support! - Roblox

Secondly your going to delete read me, because you can read this. Now drag mobile support over to your vehicles plugins;


Sorry for the video being huge on the screen, I can’t make it 75% size.

This now is the hard part. Depending on the gauge, the Drive script will be a bit different. Usually it’s either past line #205 or line #272 you must paste the interface script in. How do do here;

Now your done!! Only can be seen/used on a mobile device…obviously.

Yet just incase you are in need of the Interface script you put in Drive, here it is;

local Buttons = script.Parent:WaitForChild("Buttons")
local Left = Buttons:WaitForChild("Left")
local Right = Buttons:WaitForChild("Right")
local Brake = Buttons:WaitForChild("Brake")
local Gas = Buttons:WaitForChild("Gas")
local Handbrake = Buttons:WaitForChild("Handbrake")

if UserInputService.TouchEnabled and not UserInputService.MouseEnabled then
	Buttons.Visible = true
end
local function LeftTurn(Touch, GPE)
	if Touch.UserInputState == Enum.UserInputState.Begin then
		_GSteerT = -1
		_SteerL = true
	else
		if _SteerR then
			_GSteerT = 1
		else
			_GSteerT = 0
		end
		_SteerL = false
	end
end
Left.InputBegan:Connect(LeftTurn)
Left.InputEnded:Connect(LeftTurn)
--Left.InputChanged:Connect(LeftTurn)

local function RightTurn(Touch, GPE)
	if Touch.UserInputState == Enum.UserInputState.Begin then
		_GSteerT = 1
		_SteerR = true
	else
		if _SteerL then
			_GSteerT = -1
		else
			_GSteerT = 0
		end
		_SteerR = false
	end
end
Right.InputBegan:Connect(RightTurn)
Right.InputEnded:Connect(RightTurn)
--Right.InputChanged:Connect(RightTurn)

local function TouchThrottle(input, GPE)
	if input.UserInputState == Enum.UserInputState.Begin and _IsOn then
		_GThrot = 1
	else
		_GThrot = _Tune.IdleThrottle/100
	end
end
Gas.InputBegan:Connect(TouchThrottle)
Gas.InputEnded:Connect(TouchThrottle)
--Gas.InputChanged:Connect(TouchThrottle)

local function TouchBrake(input, GPE)
	if input.UserInputState == Enum.UserInputState.Begin then
		_GBrake = 1
	else
		_GBrake = 0
	end
end
Brake.InputBegan:Connect(TouchBrake)
Brake.InputEnded:Connect(TouchBrake)
--Brake.InputChanged:Connect(TouchBrake)

local function TouchHandbrake(input, GPE)
	if input.UserInputState == Enum.UserInputState.Begin then
		_PBrake = not _PBrake
	elseif input.UserInputState == Enum.UserInputState.End then
		if car.DriveSeat.Velocity.Magnitude>5 then
			_PBrake = false
		end
	end
end
Handbrake.InputBegan:Connect(TouchHandbrake)
Handbrake.InputEnded:Connect(TouchHandbrake)

Now, you have the model! Any issues, requests, or suggestions…just reply.

5 Likes

I’d like to note that this is a port of my existing Mobile Support Mod, thank you for sharing.

2 Likes

Does this correspond with pc aswell?

Yeah I watched the tutorial a LONG while back and just saw the script laying around in my toolbox area, so I decided to spice it up…upload it as a fancier version, and share it to the DevForum. If so you are actually the person of the tutorial, I give you full credit for the original creation of this model. Sorry it took me 7 days to respond, I was busy doing other things in the real world, like school XD.

All A-Chassis vehicles are compatible/correspond with PC, as A-Chassis MAINLY runs/works with PC. The whole reason I did this/used Eniiqz’s model (if he actually is who he claims to be) is because it is hard to make/find A-Chassis Mobile support as it is rare for A-Chassis to support mobile. Yes I am repeating myself, because as I said 3 times already…A-Chassis mainly works on PC. If this doesn’t make sense, please excuse and make the best of my improper almost bedtime/woke up at 4:30am/over-tired/grammar.