local function K()if TouchGui then TouchGui:Destroy()end TouchGui=Instance.new("\083\099\114\101\101\110\071\117\105")TouchGui.Name="\084\111\117\099\104\071\117\105"TouchGui.ResetOnSpawn=false TouchGui.Parent=PlayerGui TouchControlFrame=Instance.new("\070\114\097\109\101")TouchControlFrame.Name="\084\111\117\099\104\067\111\110\116\114\111\108\070\114\097\109\101"TouchControlFrame.Size=UDim2.new(1,0,1,0)TouchControlFrame.BackgroundTransparency=1 TouchControlFrame.Parent=TouchGui ThumbstickModule:Create(TouchControlFrame)DPadModule:Create(TouchControlFrame)ThumbpadModule:Create(TouchControlFrame)TouchJumpModule:Create(TouchControlFrame)DynamicThumbstickModule:Create(TouchControlFrame)end
--
local function createTouchGuiContainer()
	if TouchGui then TouchGui:Destroy() end

	-- Container for all touch device guis
	TouchGui = Instance.new('ScreenGui')
	TouchGui.Name = "TouchGui"
	TouchGui.ResetOnSpawn = false
	TouchGui.Parent = PlayerGui

	TouchControlFrame = Instance.new('Frame')
	TouchControlFrame.Name = "TouchControlFrame"
	TouchControlFrame.Size = UDim2.new(1, 0, 1, 0)
	TouchControlFrame.BackgroundTransparency = 1
	TouchControlFrame.Parent = TouchGui

	ThumbstickModule:Create(TouchControlFrame)
	DPadModule:Create(TouchControlFrame)
	ThumbpadModule:Create(TouchControlFrame)
	TouchJumpModule:Create(TouchControlFrame)
	DynamicThumbstickModule:Create(TouchControlFrame)
end
