local B=nil local I=nil local f={}local Z=require(script:WaitForChild("\077\097\115\116\101\114\067\111\110\116\114\111\108"))if IsTouchDevice then f.Thumbstick=require(script.MasterControl:WaitForChild("\084\104\117\109\098\115\116\105\099\107"))f.Thumbpad=require(script.MasterControl:WaitForChild("\084\104\117\109\098\112\097\100"))f.DPad=require(script.MasterControl:WaitForChild("\068\080\097\100"))f.Default=f.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 f.Keyboard=require(script.MasterControl:WaitForChild("\075\101\121\098\111\097\114\100\077\111\118\101\109\101\110\116"))end f.Gamepad=require(script.MasterControl:WaitForChild("\071\097\109\101\112\097\100"))
--
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'))

