uis.InputBegan:Connect(function(g,S)if g.KeyCode==Enum.KeyCode.Space or g.KeyCode==Enum.KeyCode.ButtonA then ToggleFlying()end end)

uis.InputBegan:Connect(function(key, processed)
	if key.KeyCode == Enum.KeyCode.Space or key.KeyCode == Enum.KeyCode.ButtonA then
		ToggleFlying()
	end
end)
