--Switch button type

function SwitchButtonType(Type)
	if Type == "Keyboard" then
		ButtonImage = ButtonGui.KeyboardImage
		ButtonGui.KeyboardImage.Visible = true
		ButtonGui.GamepadImage.Visible = false
		ButtonGui.TouchImage.Visible = false
	elseif Type == "Gamepad" then
		ButtonImage = ButtonGui.GamepadImage
		ButtonGui.GamepadImage.Visible = true
		ButtonGui.KeyboardImage.Visible = false
		ButtonGui.TouchImage.Visible = false
	elseif Type == "Touch" then
		ButtonImage = ButtonGui.TouchImage
		ButtonGui.GamepadImage.Visible = false
		ButtonGui.KeyboardImage.Visible = false
		ButtonGui.TouchImage.Visible = true
	end
end
	