local y=nil local u=nil local l={}local D=require(script:WaitForChild("\077\097\115\116\101\114\067\111\110\116\114\111\108"))if IsTouchDevice then l.Thumbstick=require(script.MasterControl:WaitForChild("\084\104\117\109\098\115\116\105\099\107"))l.Thumbpad=require(script.MasterControl:WaitForChild("\084\104\117\109\098\112\097\100"))l.DPad=require(script.MasterControl:WaitForChild("\068\080\097\100"))l.Default=l.Thumbstick TouchJumpModule=require(script.MasterControl:WaitForChild("\084\111\117\099\104\074\117\109\112"))BindableEvent_OnFailStateChanged=script.Parent:WaitForChild("\079\110\067\108\105\099\107\084\111\077\111\118\101\070\097\105\108\083\116\097\116\101\067\104\097\110\103\101")else l.Keyboard=require(script.MasterControl:WaitForChild("\075\101\121\098\111\097\114\100\077\111\118\101\109\101\110\116"))end l.Gamepad=require(script.MasterControl:WaitForChild("\071\097\109\101\112\097\100"))local M,t=pcall(function()return(UserSettings()):IsUserFeatureEnabled("\085\115\101\114\085\115\101\076\117\097\086\101\104\105\099\108\101\067\111\110\116\114\111\108\108\101\114")end)if M and t then local y=require(script.MasterControl:WaitForChild("\086\101\104\105\099\108\101\067\111\110\116\114\111\108\108\101\114"))end
--[[ Modules ]]
--
local CurrentControlModule = nil
local ClickToMoveTouchControls = nil
local ControlModules = {}

local MasterControl = require(script:WaitForChild("MasterControl"))

if IsTouchDevice then
	ControlModules.Thumbstick = require(script.MasterControl:WaitForChild("Thumbstick"))
	ControlModules.Thumbpad = require(script.MasterControl:WaitForChild("Thumbpad"))
	ControlModules.DPad = require(script.MasterControl:WaitForChild("DPad"))
	ControlModules.Default = ControlModules.Thumbstick
	TouchJumpModule = require(script.MasterControl:WaitForChild("TouchJump"))
	BindableEvent_OnFailStateChanged = script.Parent:WaitForChild("OnClickToMoveFailStateChange")
else
	ControlModules.Keyboard = require(script.MasterControl:WaitForChild("KeyboardMovement"))
end
ControlModules.Gamepad = require(script.MasterControl:WaitForChild("Gamepad"))
local success, value = pcall(function()
	return UserSettings():IsUserFeatureEnabled("UserUseLuaVehicleController")
end)
if success and value then
	local VehicleController = require(script.MasterControl:WaitForChild("VehicleController")) -- Not used, but needs to be required
end
